Well, the error handler can do its job inside a try-catch(Exception) and be 
sure that nothing escapes it. That's what I personally do, in fact.

But if the error handler itself is not available, then it is more like a 
"framework" problem. Moreover, the exception handler is typically loaded when 
there IS a problem. One of possible problems may be a database problem, 
irrespective of how much effort has been put into the correct configuration of 
the application.

Indeed, loading all classes in advance may be overkill for processes with lots 
of custom actions and code deployed in the process archive (although I 
understand deploying lots of code into the database is actually discouraged and 
I understand why) -- But, leaving ordinary classes aside, how many exception 
handlers can there be ?

Eager loading or not -- the actual big problem that occurs on general db 
failure is the infinite loop. Indeed, all that an already-loaded exception 
handler can do on general db failure is log stuff to log4j but anyway things 
get logged. So the only real problem remains the loop.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074133#4074133

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074133
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to