Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.