Package org.apache.velocity.exception
Class MacroOverflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.velocity.exception.VelocityException
-
- org.apache.velocity.exception.MacroOverflowException
-
- All Implemented Interfaces:
java.io.Serializable
public class MacroOverflowException extends VelocityException
Application-level exception thrown when macro calls within macro calls exceeds the maximum allowed depth. The maximum allowable depth is given in the configuration as velocimacro.max.depth.- Since:
- 1.6
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Version Id for serializable
-
Constructor Summary
Constructors Constructor Description MacroOverflowException(java.lang.String exceptionMessage)
MacroOverflowException(java.lang.String exceptionMessage, java.lang.Throwable wrapped)
MacroOverflowException(java.lang.Throwable wrapped)
-
Method Summary
-
Methods inherited from class org.apache.velocity.exception.VelocityException
getWrappedThrowable
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Version Id for serializable- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MacroOverflowException
public MacroOverflowException(java.lang.String exceptionMessage)
- Parameters:
exceptionMessage
- The message to register.
-
MacroOverflowException
public MacroOverflowException(java.lang.String exceptionMessage, java.lang.Throwable wrapped)
- Parameters:
exceptionMessage
- The message to register.wrapped
- A throwable object that caused the Exception.
-
MacroOverflowException
public MacroOverflowException(java.lang.Throwable wrapped)
- Parameters:
wrapped
- A throwable object that caused the Exception.
-
-