Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How to implement catch all type exception handler
How to implement catch all type exception handler [message #695771] Tue, 12 July 2011 10:12 Go to previous message
Barbara Rosi-Schwartz is currently offline 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.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Virgo Experience Report
Next Topic:tomcat authentication
Goto Forum:
  


Current Time: Fri May 24 05:04:09 EDT 2013

Powered by FUDForum. Page generated in 0.01832 seconds