Hi

Use

Throwable t = exchange.getException(Throwable.class);


On Tue, Mar 4, 2014 at 1:36 PM, sekaijin <jean-yves.terr...@sap.aphp.fr> wrote:
> Hi
> I use
>
> to trace the exceptions of my routes.
> in MyErrProcessor class, I get the exception with
>
>
> but I have a processor that throws an IOError, not an Exception but an Error
> I thought to
>
> but  can not contain Errors just Exceptions.
>
> Thank
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/how-to-catch-Errors-tp5748279.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to