Package | Description |
---|---|
freemarker.core |
This package contains FreeMarker's core parsing/rendering functionality;
most casual users do not need to be aware of the classes in this package,
and can restrict their attention to the
freemarker.template
package. |
freemarker.template |
This package contains the core API's that most users will use.
|
Modifier and Type | Method and Description |
---|---|
TemplateExceptionHandler |
Configurable.getTemplateExceptionHandler()
Retrieves the exception handler used to handle template exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
Environment.setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler) |
void |
Configurable.setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
Sets the exception handler used to handle template exceptions.
|
Modifier and Type | Field and Description |
---|---|
static TemplateExceptionHandler |
TemplateExceptionHandler.DEBUG_HANDLER
This is a TemplateExceptionHandler used when you develop the templates.
|
static TemplateExceptionHandler |
TemplateExceptionHandler.HTML_DEBUG_HANDLER
This is a TemplateExceptionHandler used when you develop HTML templates.
|
static TemplateExceptionHandler |
TemplateExceptionHandler.IGNORE_HANDLER
This is a TemplateExceptionHandler which simply skips errors.
|
static TemplateExceptionHandler |
TemplateExceptionHandler.RETHROW_HANDLER
This is a TemplateExceptionHandler that simply rethrows the exception.
|