Hi all,
Does anyone know why much of the exception handling code catches
throwables and exceptions? Throwable is typically only used for
exceptions for which there is no chance of recovery. Recoverable
exceptions should be caught under
catch (Exception e)
See the following Java language documentation from Sun:
http://java.sun.com/docs/books/jls/html/11.doc.html
see sections:
- 11.5.1 The Classes Exception and RuntimeException
- 11.5.2 The Class Error
- 11.5 The Exception Hierarchy
Am I missing something specific to Turbine? It seems it would clean
up the code quite a bit to just handle everything under 'Exception'.
Does anyone have a case that's recoverable but not handled under
Exception (and needs to be handled under Throwable or Error)?
Thanks,
Chris Meyer
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]