public interface MethodExceptionEventHandler extends EventHandler
| Modifier and Type | Method and Description |
|---|---|
Object |
methodException(Context context,
Class<?> claz,
String method,
Exception e,
Info info)
Called when a method throws an exception.
|
Object methodException(Context context, Class<?> claz, String method, 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 detailsRuntimeException - an exception to be thrown instead inserting an objectCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.