} catch (IllegalAccessException ex) {
throw new ProcessingException("Resource Java method invocation error.", ex);
} catch (InvocationTargetException ex) {
final Throwable cause = ex.getCause();
// exception cause potentially mappable
throw new MappableException(cause);
} catch (UndeclaredThrowableException ex) {
throw new ProcessingException("Resource Java method invocation error.", ex);
} catch (ProcessingException ex) {
throw ex;
} catch (Exception ex) {
// exception potentially mappable
throw new MappableException(ex);
} catch (Throwable t) {
throw new ProcessingException(t);
}
}