org.riotfamily.common.web.view.freemarker
Class ErrorPrintingExceptionHandler
java.lang.Object
org.riotfamily.common.web.view.freemarker.ErrorPrintingExceptionHandler
- All Implemented Interfaces:
- freemarker.template.TemplateExceptionHandler
public class ErrorPrintingExceptionHandler
- extends Object
- implements freemarker.template.TemplateExceptionHandler
TemplateExceptionHandler that prints the error message without stacktrace.
- Since:
- 6.4
- Author:
- Felix Gnass [fgnass at neteye dot de]
Fields inherited from interface freemarker.template.TemplateExceptionHandler |
DEBUG_HANDLER, HTML_DEBUG_HANDLER, IGNORE_HANDLER, RETHROW_HANDLER |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorPrintingExceptionHandler
public ErrorPrintingExceptionHandler()
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