ccc.plugins.scripting.velocity
Class VelocityProcessor.EntityNotFoundHandler

java.lang.Object
  extended by ccc.plugins.scripting.velocity.VelocityProcessor.EntityNotFoundHandler
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.MethodExceptionEventHandler
Enclosing class:
VelocityProcessor

public static class VelocityProcessor.EntityNotFoundHandler
extends java.lang.Object
implements org.apache.velocity.app.event.MethodExceptionEventHandler

Velocity event handler to convert EntityNotFoundExceptions to NULL.

Author:
Civic Computing Ltd.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.MethodExceptionEventHandler
org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
 
Constructor Summary
VelocityProcessor.EntityNotFoundHandler()
           
 
Method Summary
 java.lang.Object methodException(java.lang.Class clazz, java.lang.String methodName, java.lang.Exception ex)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityProcessor.EntityNotFoundHandler

public VelocityProcessor.EntityNotFoundHandler()
Method Detail

methodException

public java.lang.Object methodException(java.lang.Class clazz,
                                        java.lang.String methodName,
                                        java.lang.Exception ex)
                                 throws java.lang.Exception

Specified by:
methodException in interface org.apache.velocity.app.event.MethodExceptionEventHandler
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.