Package com.atlassian.bamboo.ww2
Class DebugWithoutThrowingExceptionHandler
java.lang.Object
com.atlassian.bamboo.ww2.DebugWithoutThrowingExceptionHandler
- All Implemented Interfaces:
freemarker.template.TemplateExceptionHandler
public class DebugWithoutThrowingExceptionHandler
extends Object
implements freemarker.template.TemplateExceptionHandler
A
TemplateExceptionHandler
which works like the TemplateExceptionHandler.DEBUG_HANDLER
but doesn't rethrow
the exception. This means the page rendering is not aborted.-
Field Summary
Fields inherited from interface freemarker.template.TemplateExceptionHandler
DEBUG_HANDLER, HTML_DEBUG_HANDLER, IGNORE_HANDLER, RETHROW_HANDLER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleTemplateException
(freemarker.template.TemplateException te, freemarker.core.Environment env, Writer out)
-
Constructor Details
-
DebugWithoutThrowingExceptionHandler
public DebugWithoutThrowingExceptionHandler()
-
-
Method Details
-
handleTemplateException
public void handleTemplateException(freemarker.template.TemplateException te, freemarker.core.Environment env, Writer out) throws freemarker.template.TemplateException - Specified by:
handleTemplateException
in interfacefreemarker.template.TemplateExceptionHandler
- Throws:
freemarker.template.TemplateException
-