public class TemplateModelException extends TemplateException
Constructor and Description |
---|
TemplateModelException()
Constructs a TemplateModelException with no
specified detail message.
|
TemplateModelException(java.lang.Exception cause)
Constructs a TemplateModelException with the given underlying
Exception, but no detail message.
|
TemplateModelException(java.lang.String description)
Constructs a TemplateModelException with the
specified detail message.
|
TemplateModelException(java.lang.String description,
java.lang.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, printStackTrace
public TemplateModelException()
public TemplateModelException(java.lang.String description)
description
- the detail message.public TemplateModelException(java.lang.Exception cause)
cause
- the underlying Exception
that caused this
exception to be raisedpublic TemplateModelException(java.lang.String description, java.lang.Exception cause)
description
- the description of the error that occurredcause
- the underlying Exception
that caused this
exception to be raised