public interface MethodExceptionEventHandler extends EventHandler
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
methodException(Context context,
java.lang.Class<?> claz,
java.lang.String method,
java.lang.Exception e,
Info info)
Called when a method throws an exception.
|
java.lang.Object methodException(Context context, java.lang.Class<?> claz, java.lang.String method, java.lang.Exception e, Info info)
context
- current contextclaz
- the class of the object the method is being applied tomethod
- the methode
- the thrown exceptioninfo
- contains template, line, column detailsjava.lang.RuntimeException
- an exception to be thrown instead inserting an object