Package freemarker.core
Class UndeclaredVariableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- freemarker.core.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 Summary
Constructors Constructor Description UndeclaredVariableException(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UndeclaredVariableException
public UndeclaredVariableException(String message)
-
-