|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object au.com.forward.runWST.ErrorLogListener
This is the error listener used for RunWST.
It remembers the first error it sees.
Field Summary | |
static java.util.logging.Logger |
logger
The Java logger for this class |
Constructor Summary | |
ErrorLogListener()
|
Method Summary | |
void |
clearMessages()
Clears the first error message and exception. |
void |
debug(java.lang.String msg)
A debugging handler, superceeded by Java logging. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
An Error handler. |
java.lang.String |
getFirstErrorMessage()
Gets the first error message seen. |
java.lang.Throwable |
getFirstException()
Gets the first exception seen. |
void |
warning(java.lang.String msg)
An Warning handler. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.logging.Logger logger
Constructor Detail |
public ErrorLogListener()
Method Detail |
public void error(java.lang.String msg, java.lang.Throwable t)
error
in interface StringTemplateErrorListener
msg
- the error messaget
- the exceptionpublic void warning(java.lang.String msg)
warning
in interface StringTemplateErrorListener
msg
- the warning messagepublic void debug(java.lang.String msg)
debug
in interface StringTemplateErrorListener
msg
- the debug messagepublic java.lang.String getFirstErrorMessage()
public java.lang.Throwable getFirstException()
public void clearMessages()
|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |