camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject BeanProcessor - wrapping throwable why?
Date Sat, 11 Oct 2008 09:48:22 GMT
Hi

The process() method in BeanProcessor has try .. catch that catches Throwable and rethrows
it as Exception.

This is wrong as java.lang.Error shouldn't really be caught / hidden.

I do think the catches should be removed and just let the original exception being thrown.

Any thoughts?


Med venlig hilsen

Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk


Mime
View raw message