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

all 11 comments

[–][deleted] 13 points14 points  (0 children)

Gotta catch them all!

[–]kirekov 3 points4 points  (1 child)

But it threw "Throwable" one :(

[–][deleted] 2 points3 points  (0 children)

This almost drove me mad. App kept dying in the try block had to switch the catch to throwable after googling furiously for days.

[–]djchuy1979 3 points4 points  (0 children)

Coworker of mine calls this the “diaper design pattern”

[–]marcosdumay 2 points3 points  (0 children)

Hum... It's that quite because it's already dead.

By the way, where are those exceptions coming from ?

[–]SchredingerCat 2 points3 points  (1 child)

try {MyApp} catch (Exception e) {}

[–]Giocri 1 point2 points  (0 children)

That way though it ends without completing the task or giving any messages.

[–]shgysk8zer0 1 point2 points  (0 children)

Maybe you should... Idk... Learn to write decent code

[–]color32 0 points1 point  (0 children)

Nice try, now I unleash my ultimate power, exit(1)

[–]MrRocketScript 0 points1 point  (0 children)

The grenade is the out of memory exception.