|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
public static class MethodExceptionEventHandler.MethodExceptionExecutor
Defines the execution strategy for methodException
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void execute(EventHandler handler)
throws Exception
execute in interface EventHandlerMethodExecutorhandler - call the appropriate method on this handler
Exception - generic exception thrown by methodException event handler method callpublic Object getReturnValue()
EventHandlerMethodExecutor
getReturnValue in interface EventHandlerMethodExecutorpublic boolean isDone()
isDone in interface EventHandlerMethodExecutor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||