freemarker.template
Interface TemplateExceptionListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- HtmlExceptionListener
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.
- See Also:
TemplateExceptionEvent,
TemplateRuntimeHandler
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