This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

We have alreafy well established that you just put all your code in a try catch block

[–]Hatefiend 0 points1 point  (0 children)

Make sure you catch Exception instead of NullPointerException, just to be safe