freemarker.template
Interface TemplateExceptionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
FreeMarkerXmlTask, HtmlExceptionListener, HtmlFormattedExceptionListener, JavaLoggingExceptionListener, Log4jExceptionListener, WriterExceptionListener

public interface TemplateExceptionListener
extends java.util.EventListener

Interface for listening for TemplateExceptionEvents. These are fired whenever FM-Classic encounters a situation that it can't deal with normally at runtime.

Version:
$Id: TemplateExceptionListener.java 1101 2013-04-01 04:17:32Z run2000 $
See Also:
TemplateExceptionEvent, TemplateRuntimeHandler

Method Summary
 void exceptionThrown(TemplateExceptionEvent e)
          This method is called whenever a TemplateExceptionEvent is generated by a FM-Classic template.
 

Method Detail

exceptionThrown

void exceptionThrown(TemplateExceptionEvent e)
                     throws TemplateException
This method is called whenever a TemplateExceptionEvent is generated by a FM-Classic template. Implement this method to decide how to respond to such events.

Throws:
TemplateException