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 TemplateExceptionHandlerConfigurable. getTemplateExceptionHandler()The getter pair ofConfigurable.setTemplateExceptionHandler(TemplateExceptionHandler).Methods in freemarker.core with parameters of type TemplateExceptionHandler Modifier and Type Method Description voidConfigurable. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)Sets the exception handler used to handle exceptions occurring inside templates.voidEnvironment. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler) -
Uses of TemplateExceptionHandler in freemarker.template
Fields in freemarker.template declared as TemplateExceptionHandler Modifier and Type Field Description static TemplateExceptionHandlerTemplateExceptionHandler. DEBUG_HANDLERTemplateExceptionHandleruseful when you are developing non-HTML templates.static TemplateExceptionHandlerTemplateExceptionHandler. HTML_DEBUG_HANDLERTemplateExceptionHandleruseful when you are developing HTML templates.static TemplateExceptionHandlerTemplateExceptionHandler. IGNORE_HANDLERTemplateExceptionHandlerthat simply skips the failing instructions, letting the template continue executing.static TemplateExceptionHandlerTemplateExceptionHandler. RETHROW_HANDLERTemplateExceptionHandlerthat 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 voidConfiguration. setTemplateExceptionHandler(TemplateExceptionHandler templateExceptionHandler)
-