freemarker.template
public class TemplateModelException extends TemplateException
| Constructor and Description |
|---|
TemplateModelException()
Constructs a TemplateModelException with no
specified detail message.
|
TemplateModelException(Exception cause)
Constructs a TemplateModelException with the given underlying
Exception, but no detail message.
|
TemplateModelException(String description)
Constructs a TemplateModelException with the
specified detail message.
|
TemplateModelException(String description,
Exception cause)
Constructs a TemplateModelException with both a description of the error
that occurred and the underlying Exception that caused this exception
to be raised.
|
getCause, getCauseException, getEnvironment, getFTLInstructionStack, printStackTrace, printStackTracefillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toStringpublic TemplateModelException()
public TemplateModelException(String description)
description - the detail message.public TemplateModelException(Exception cause)
cause - the underlying Exception that caused this
exception to be raisedpublic TemplateModelException(String description, Exception cause)
description - the description of the error that occurredcause - the underlying Exception that caused this
exception to be raised