org.apache.velocity.app.event
public static class MethodExceptionEventHandler.MethodExceptionExecutor extends java.lang.Object implements EventHandlerMethodExecutor
Modifier and Type | Method and Description |
---|---|
void |
execute(EventHandler handler)
Call the method methodException()
|
java.lang.Object |
getReturnValue()
Get return value at end of all the iterations
|
boolean |
isDone()
Only run the first MethodExceptionEventHandler
|
public void execute(EventHandler handler) throws java.lang.Exception
execute
in interface EventHandlerMethodExecutor
handler
- call the appropriate method on this handlerjava.lang.Exception
- generic exception thrown by methodException event handler method callpublic java.lang.Object getReturnValue()
EventHandlerMethodExecutor
getReturnValue
in interface EventHandlerMethodExecutor
public boolean isDone()
isDone
in interface EventHandlerMethodExecutor
Copyright © 2000-2014. All Rights Reserved.