Class MacroOverflowException

All Implemented Interfaces:
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:
  • Constructor Details

    • MacroOverflowException

      public MacroOverflowException(String exceptionMessage)
      Parameters:
      exceptionMessage - The message to register.
    • MacroOverflowException

      public MacroOverflowException(String exceptionMessage, Throwable wrapped)
      Parameters:
      exceptionMessage - The message to register.
      wrapped - A throwable object that caused the Exception.
    • MacroOverflowException

      public MacroOverflowException(String exceptionMessage, Throwable wrapped, 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(Throwable wrapped)
      Parameters:
      wrapped - A throwable object that caused the Exception.
    • MacroOverflowException

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