|How to implement catch all type exception handler [message #695771]
||Tue, 12 July 2011 10:12
| Barbara Rosi-Schwartz
Registered: July 2009
In my OSGi based application, I would like to apply the pattern of a last ditch "catch all" Exception handler which appropriately and gracefully handles any really unexpected exception that may be thrown and not caught anywhere.
In a normal Java application, I would implement such a patter in the app's main() method. Since an OSGi application does not have such a thing as a main() method, how would I go about doing this?
Any suggestions would be very appreciated.
Powered by FUDForum
. Page generated in 0.02277 seconds