freemarker.template
Interface TemplateExceptionListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- HtmlExceptionListener, HtmlFormattedExceptionListener, Log4jExceptionListener
- public interface TemplateExceptionListener
- extends java.util.EventListener
Interface for listening for TemplateExceptionEvent
s. These are
fired whenever FM-Classic encounters a situation that it can't deal with
normally at runtime.
- Version:
- $Id$
- See Also:
TemplateExceptionEvent
,
TemplateRuntimeHandler
exceptionThrown
public 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.