public static class MethodExceptionEventHandler.MethodExceptionExecutor extends Object implements EventHandlerMethodExecutor
Modifier and Type | Method and Description |
---|---|
void |
execute(EventHandler handler)
Call the method methodException()
|
Object |
getReturnValue()
Get return value at end of all the iterations
|
boolean |
isDone()
Only run the first MethodExceptionEventHandler
|
public void execute(EventHandler handler)
execute
in interface EventHandlerMethodExecutor
handler
- call the appropriate method on this handlerException
- generic exception thrown by methodException event handler method callpublic Object getReturnValue()
EventHandlerMethodExecutor
getReturnValue
in interface EventHandlerMethodExecutor
public boolean isDone()
isDone
in interface EventHandlerMethodExecutor
Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.