Class UndeclaredVariableException

  • All Implemented Interfaces:
    Serializable

    public class UndeclaredVariableException
    extends RuntimeException
    This exception is thrown when a set directive in the template tries to set a variable which is not declared in that scope or an enclosing one. (Note: This only applies if the template contains at least one top-level var directive.
    See Also:
    Serialized Form
    • Constructor Detail

      • UndeclaredVariableException

        public UndeclaredVariableException​(String message)