|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.preferences.ParseConfigErrorHandler
An error handler for parsing of the log4j config file
Field Summary | |
private int |
count
Number of errors encountered |
private java.lang.String |
msg
Error messages concatenated together |
Constructor Summary | |
(package private) |
ParseConfigErrorHandler()
|
Method Summary | |
void |
error(org.xml.sax.SAXParseException e)
Called by the parser when an error is encountered |
void |
fatalError(org.xml.sax.SAXParseException e)
Called by the parser when an fatal error is encountered |
int |
getErrorCount()
Returns the number of errors and fatal errors encountered |
java.lang.String |
getMessage()
Returns all the error messages received concatenated together |
void |
warning(org.xml.sax.SAXParseException e)
Called by the parser when a warning is generated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int count
private java.lang.String msg
Constructor Detail |
ParseConfigErrorHandler()
Method Detail |
public int getErrorCount()
public java.lang.String getMessage()
public void error(org.xml.sax.SAXParseException e)
error
in interface org.xml.sax.ErrorHandler
e
- the exception caused by the errorpublic void fatalError(org.xml.sax.SAXParseException e)
fatalError
in interface org.xml.sax.ErrorHandler
e
- the exception caused by the fatal errorpublic void warning(org.xml.sax.SAXParseException e)
warning
in interface org.xml.sax.ErrorHandler
e
- the exception caused by the warning
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |