Package org.apache.velocity.exception
Class MathException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.velocity.exception.VelocityException
-
- org.apache.velocity.exception.MathException
-
- All Implemented Interfaces:
java.io.Serializable
public class MathException extends VelocityException
Separate exception class to distinguish math problems.- Since:
- 1.6
- Version:
- $Id: MathException.java 685685 2008-08-13 21:43:27Z nbubna $
- Author:
- Nathan Bubna
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MathException(java.lang.String exceptionMessage)
MathException(java.lang.String exceptionMessage, java.lang.String[] stacktrace)
-
Method Summary
-
Methods inherited from class org.apache.velocity.exception.VelocityException
getVtlStackTrace, getWrappedThrowable
-
-
-
-
Constructor Detail
-
MathException
public MathException(java.lang.String exceptionMessage)
- Parameters:
exceptionMessage
- The message to register.
-
MathException
public MathException(java.lang.String exceptionMessage, java.lang.String[] stacktrace)
- Parameters:
exceptionMessage
- The message to register.stacktrace
- VTL stacktrace- Since:
- 2.2
-
-