Re: Not possible to catch an java.lang.Error.

2010-11-30 Thread Andreas A.
I was wrong, I can catch an Error, but not throw one. -- View this message in context: http://camel.465427.n5.nabble.com/Not-possible-to-catch-an-java-lang-Error-tp3285827p3285847.html Sent from the Camel - Users mailing list archive at Nabble.com.

Not possible to catch an java.lang.Error.

2010-11-30 Thread Andreas A.
Hi I have been experiencing some problems with OutOfMemoryError in my production environment and I would like to shut down the application when this occurs. I thought of doing this by catching java.lang.Error and then shutting down the app. However this is not possible as there's only the possibi