|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.template.HtmlExceptionListener
public final class HtmlExceptionListener
A basic handler that matches FreeMarker template legacy behaviour: any exceptions thrown by FM-Classic are output inside an HTML comment within the body of the output.
Constructor Summary | |
---|---|
HtmlExceptionListener()
Deprecated. use the getInstance() method instead |
Method Summary | |
---|---|
void |
exceptionThrown(TemplateExceptionEvent e)
Handles events that are created whenever an exception is thrown. |
static HtmlExceptionListener |
getInstance()
Retrieves a singleton instance of this HTML exception listener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public HtmlExceptionListener()
getInstance()
method instead
HtmlExceptionListener
.
Method Detail |
---|
public static HtmlExceptionListener getInstance()
public void exceptionThrown(TemplateExceptionEvent e)
exceptionThrown
in interface TemplateExceptionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |