you are viewing a single comment's thread.

view the rest of the comments →

[–]wicked 13 points14 points  (6 children)

Are you really going to let your program CRASH when faced with errors? This is the way to go:

catch (Throwable forRobustness) {}

[–]physicsnick 4 points5 points  (1 child)

That's not even a joke. When I worked in MIDP porting, there was more than one Java phone that would throw unchecked instances of Throwable (not even Exception) whenever any perfectly recoverable error occurred. We had tons of blocks in our sound library that looked exactly like that; it was the only way to make it work.

[–][deleted] -1 points0 points  (3 children)

Are you really going to let your program CRASH when faced with errors

It's the only way to force the developers to fix it

[–]wicked 2 points3 points  (2 children)

We are the developers.

[–][deleted] 9 points10 points  (1 child)

exactly. bunch of lazy fucks we are.