| How to implement catch all type exception handler [message #695771] |
Tue, 12 July 2011 10:12  |
Barbara Rosi-Schwartz Messages: 448 Registered: July 2009 |
Senior Member |
|
|
Hello.
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.
TIA,
B.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01640 seconds