| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception freemarker.template.TemplateException freemarker.template.TemplateModelException
All known Subclasses: freemarker.ext.beans.InvalidPropertyException,
TemplateModelException | public class TemplateModelException extends TemplateException (Code) | | Template model implementation classes should throw this exception if
requested data cannot be retrieved.
version: $Id: TemplateModelException.java,v 1.14 2003/04/22 21:03:22 revusky Exp $ |
Constructor Summary | |
public | TemplateModelException() Constructs a TemplateModelException with no
specified detail message. | public | TemplateModelException(String description) Constructs a TemplateModelException with the
specified detail message. | public | TemplateModelException(Exception cause) Constructs a TemplateModelException with the given underlying
Exception, but no detail message. | public | 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. |
TemplateModelException | public TemplateModelException()(Code) | | Constructs a TemplateModelException with no
specified detail message.
|
TemplateModelException | public TemplateModelException(String description)(Code) | | Constructs a TemplateModelException with the
specified detail message.
Parameters: description - the detail message. |
TemplateModelException | public TemplateModelException(Exception cause)(Code) | | Constructs a TemplateModelException with the given underlying
Exception, but no detail message.
Parameters: cause - the underlying Exception that caused thisexception to be raised |
TemplateModelException | public TemplateModelException(String description, Exception cause)(Code) | | Constructs a TemplateModelException with both a description of the error
that occurred and the underlying Exception that caused this exception
to be raised.
Parameters: description - the description of the error that occurred Parameters: cause - the underlying Exception that caused thisexception to be raised |
|
|
|