|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--freemarker.template.TemplateModelException
Template model classes should throw this exception if requested data cannot be retrieved. Its detail message will be used to build an error message in the output of a template using the model.
| Constructor Summary | |
TemplateModelException()
Constructs a TemplateModelException with no specified detail message. |
|
TemplateModelException(java.lang.String s)
Constructs a TemplateModelException with the specified detail message. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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 s)
s - the detail message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||