|
|
|
|
|
by Roboprog
3938 days ago
|
|
Mostly agree, but I'm sure you must have meant UN-checked exceptions :-) if ( somethingICanDoNothingAbout)
{ throw new UncheckedGameOverException( "You're screwed!") }
... // top level event/request/message handler, many layers up
catch ( Throwable e)
{ log.error( "Game over:", e); ... }
(I'm with the Anders/C# camp on this one, as much as I dislike MS otherwise) |
|
The inclusion of Unchecked Exceptions is one of the biggest warts on the Java language.