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
ATemplateExceptionHandler
which works like theTemplateExceptionHandler.DEBUG_HANDLER
but doesn't rethrow the exception. This means the page rendering is not aborted.
-
-
Constructor Summary
Constructors Constructor Description DebugWithoutThrowingExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleTemplateException(freemarker.template.TemplateException te, freemarker.core.Environment env, Writer out)
-
-
-
Method Detail
-
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
-
-