org.apache.velocity.exception
public class MethodInvocationException extends VelocityException
Version: $Id: MethodInvocationException.java,v 1.2.14.1 2004/03/03 23:22:54 geirm Exp $
| Field Summary | |
|---|---|
| String | methodName |
| String | referenceName |
| Throwable | wrapped |
| Constructor Summary | |
|---|---|
| MethodInvocationException(String message, Throwable e, String methodName)
CTOR - wraps the passed in exception for
examination later
| |
| Method Summary | |
|---|---|
| String | getMethodName()
Returns the name of the method that threw the
exception
|
| String | getReferenceName()
Retrieves the name of the reference that caused the
exception
|
| Throwable | getWrappedThrowable()
returns the wrapped Throwable that caused this
MethodInvocationException to be thrown
|
| void | setReferenceName(String ref)
Sets the reference name that threw this exception
|
Parameters: message e Throwable that we are wrapping methodName name of method that threw the exception
Returns: String name of method
Returns: name of reference
Returns: Throwable thrown by method invocation
Parameters: reference name of reference