Java - general

Catch raw exceptions


From Java 5 on you can, by means of

Thread.setDefaultUncaughtExceptionHandler(...)

catch raw exceptions.