org.apache.velocity.exception
Class VelocityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.velocity.exception.VelocityException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MethodInvocationException, ParseErrorException, ResourceNotFoundException, TemplateInitException
public class VelocityException
- extends RuntimeException
Base class for Velocity runtime exceptions thrown to the
application layer.
- Version:
- $Id: VelocityException.java 471260 2006-11-04 20:37:20Z henning $
- Author:
- Kyle F. Downey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
VelocityException
public VelocityException(String exceptionMessage)
- Parameters:
exceptionMessage
- The message to register.
VelocityException
public VelocityException(String exceptionMessage,
Throwable wrapped)
- Parameters:
exceptionMessage
- The message to register.wrapped
- A throwable object that caused the Exception.
VelocityException
public VelocityException(Throwable wrapped)
- Parameters:
wrapped
- A throwable object that caused the Exception.
getWrappedThrowable
public Throwable getWrappedThrowable()
- returns the wrapped Throwable that caused this
MethodInvocationException to be thrown
- Returns:
- Throwable thrown by method invocation
Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.