com.atlassian.bamboo.ww2
Class DebugWithoutThrowingExceptionHandler

java.lang.Object
  extended by com.atlassian.bamboo.ww2.DebugWithoutThrowingExceptionHandler
All Implemented Interfaces:
freemarker.template.TemplateExceptionHandler

public class DebugWithoutThrowingExceptionHandler
extends java.lang.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
DebugWithoutThrowingExceptionHandler()
           
 
Method Summary
 void handleTemplateException(freemarker.template.TemplateException te, freemarker.core.Environment env, java.io.Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugWithoutThrowingExceptionHandler

public DebugWithoutThrowingExceptionHandler()
Method Detail

handleTemplateException

public void handleTemplateException(freemarker.template.TemplateException te,
                                    freemarker.core.Environment env,
                                    java.io.Writer out)
                             throws freemarker.template.TemplateException
Specified by:
handleTemplateException in interface freemarker.template.TemplateExceptionHandler
Throws:
freemarker.template.TemplateException


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.