Class MethodExceptionHandler

java.lang.Object
org.apache.velocity.app.event.implement.PrintExceptions
com.nomagic.magicreport.engine.velocity.MethodExceptionHandler
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.MethodExceptionEventHandler, org.apache.velocity.util.RuntimeServicesAware

@OpenApiAll public class MethodExceptionHandler extends org.apache.velocity.app.event.implement.PrintExceptions
Event handler called when a method throws an exception. By default Velocity return an exception Object in methodException(Class, String, Exception) and reference to method name is corrupted. This class will manage it manually to avoid error reference in Velocity.
Since:
Jun 18, 2007