org.melati.template.velocity
Class PassbackMethodExceptionEventHandler
java.lang.Object
org.melati.template.velocity.PassbackMethodExceptionEventHandler
- All Implemented Interfaces:
- org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.MethodExceptionEventHandler
public class PassbackMethodExceptionEventHandler
- extends Object
- implements org.apache.velocity.app.event.MethodExceptionEventHandler
Reference 'null reference' event handler. Called when a non-quiet reference
($foo vs $!foo) is null (not in the TemplateContext), which would result in
'$foo' being rendered. Please return what you want rendered into the output
stream.
- Author:
- Geir Magnusson Jr. geirm At optonline.net
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.MethodExceptionEventHandler |
org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassbackMethodExceptionEventHandler
public PassbackMethodExceptionEventHandler()
methodException
public Object methodException(Class claz,
String method,
Exception e)
throws Exception
-
- Specified by:
methodException
in interface org.apache.velocity.app.event.MethodExceptionEventHandler
- Throws:
Exception
- See Also:
MethodExceptionEventHandler.methodException(java.lang.Class, java.lang.String, java.lang.Exception)
Copyright © 2000-2010 PanEris. All Rights Reserved.