Hi Jerome,
> } catch (InvocationTargetException e) {
> if (e.getCause() instanceof Error) {
> throw (Error) e.getCause();
> } else {
> getLogger() [...]
> }
I spoke too fast, we should also consider RuntimeExceptions:
catch(InvocationTargetException e){
if (e.getCause() instanceof Error
|| e.getCause() instanceof RuntimeException) {
throw (Error) e.getCause();
}
getLogger()....
}-Vincent.

