|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
freemarker.template.TemplateException
freemarker.template.TemplateModelException
public class TemplateModelException
Template model implementation classes should throw this exception if requested data cannot be retrieved.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class freemarker.template.TemplateException |
|---|
getCause, getCauseException, getEnvironment, getFTLInstructionStack, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 raised
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||