Class MethodInvocationException

All Implemented Interfaces:
Serializable, ExtendedParseException

public class MethodInvocationException extends VelocityException implements ExtendedParseException
Application-level exception thrown when a reference method is invoked and an exception is thrown.
When this exception is thrown, a best effort will be made to have useful information in the exception's message. For complete information, consult the runtime log.
Version:
$Id: MethodInvocationException.java 898032 2010-01-11 19:51:03Z nbubna $
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Version Id for serializable
      See Also:
    • referenceName

      private String referenceName
    • methodName

      private final String methodName
    • lineNumber

      private final int lineNumber
    • columnNumber

      private final int columnNumber
    • templateName

      private final String templateName
  • Constructor Details

    • MethodInvocationException

      public MethodInvocationException(String message, Throwable e, String methodName, String templateName, int lineNumber, int columnNumber)
      CTOR - wraps the passed in exception for examination later
      Parameters:
      message -
      e - Throwable that we are wrapping
      methodName - name of method that threw the exception
      templateName - The name of the template where the exception occured.
  • Method Details