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
    • 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
    • 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.String exceptionMessage,
                                      java.lang.Throwable wrapped,
                                      java.lang.String[] stacktrace)
        Parameters:
        exceptionMessage - The message to register.
        wrapped - A throwable object that caused the Exception.
        stacktrace - VTL stacktrace
        Since:
        2.2
      • MacroOverflowException

        public MacroOverflowException​(java.lang.Throwable wrapped)
        Parameters:
        wrapped - A throwable object that caused the Exception.
      • MacroOverflowException

        public MacroOverflowException​(java.lang.Throwable wrapped,
                                      java.lang.String[] stacktrace)
        Parameters:
        wrapped - A throwable object that caused the Exception.
        stacktrace - VTL stacktrace
        Since:
        2.2