Re: Camel OnException handling

2011-12-12 Thread jackkirsten
Thanks Claus for a reply. I apologize for putting this in the wrong forum and I've made a note of that for future reference. I'm using Camel v2.6. I have found the problem. I was throwing the NullPointerException from the code however the by time it reaches the Camel routing it became checked e

Camel OnException handling

2011-12-11 Thread jackkirsten
Hi, I have the following OnException blocks for both generic checked exception and runtime exceptions. When I purposely throw the runtime exception such as (NullPointerException) from the process method, only Exception.class block is executed and NOT the Runtime.Exception block. Why is it doing t