Uses of Interface
freemarker.template.TemplateExceptionHandler
-
Packages that use TemplateExceptionHandler Package Description freemarker.core The seldom used or advanced parts of the fundamental FreeMarker API, compared tofreemarker.template
.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Started in the Manual.) -
-
Uses of TemplateExceptionHandler in freemarker.core
Methods in freemarker.core that return TemplateExceptionHandler Modifier and Type Method Description TemplateExceptionHandler
Configurable. getTemplateExceptionHandler()
The getter pair ofConfigurable.setTemplateExceptionHandler(TemplateExceptionHandler)
.Methods in freemarker.core with parameters of type TemplateExceptionHandler Modifier and Type Method Description void
Configurable. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
Sets the exception handler used to handle exceptions occurring inside templates.void
Environment. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
-
Uses of TemplateExceptionHandler in freemarker.template
Fields in freemarker.template declared as TemplateExceptionHandler Modifier and Type Field Description static TemplateExceptionHandler
TemplateExceptionHandler. DEBUG_HANDLER
TemplateExceptionHandler
useful when you are developing non-HTML templates.static TemplateExceptionHandler
TemplateExceptionHandler. HTML_DEBUG_HANDLER
TemplateExceptionHandler
useful when you are developing HTML templates.static TemplateExceptionHandler
TemplateExceptionHandler. IGNORE_HANDLER
TemplateExceptionHandler
that simply skips the failing instructions, letting the template continue executing.static TemplateExceptionHandler
TemplateExceptionHandler. RETHROW_HANDLER
TemplateExceptionHandler
that simply re-throws the exception; this should be used in most production systems.Methods in freemarker.template with parameters of type TemplateExceptionHandler Modifier and Type Method Description void
Configuration. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
-