|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.boylesoftware.cb2.util.CruelErrorHandler
Simple error handler for XML parsers. This handler is very "cruel" -- it throws exception on any warning, error or fatalError condition.
Constructor Summary | |
CruelErrorHandler()
|
Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
Rethrows the exception. |
void |
fatalError(org.xml.sax.SAXParseException exception)
Rethrows the exception. |
void |
warning(org.xml.sax.SAXParseException exception)
Rethrows the exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CruelErrorHandler()
Method Detail |
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
exception
- the exception.
org.xml.sax.SAXException
- always throws this exception.public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
exception
- the exception.
org.xml.sax.SAXException
- always throws this exception.public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
exception
- the exception.
org.xml.sax.SAXException
- always throws this exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |