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.
  • 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 interface freemarker.template.TemplateExceptionHandler
      Throws:
      freemarker.template.TemplateException