|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.ext.misc.Log4jExceptionListener
Adapts FM-Classic's exception events to Log4j's logging methods. This code is known to work with Log4j version 1.1.3, but should be compatible with earlier versions as well.
Log4j can be found at the Jakarta Apache web site.
Constructor Summary | |
Log4jExceptionListener()
Creates new Log4jExceptionListener |
Method Summary | |
void |
exceptionThrown(TemplateExceptionEvent e)
Passes exceptions raised by FreeMarker onto Log4j. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4jExceptionListener()
Method Detail |
public void exceptionThrown(TemplateExceptionEvent e)
exceptionThrown
in interface TemplateExceptionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |