|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.xml.handler.DefaultErrorHandler
public class DefaultErrorHandler
Implements SAX error handler for default reporting.
Constructor Summary | |
---|---|
DefaultErrorHandler() Convenience constructor for writing to System.err . |
|
DefaultErrorHandler(PrintStream messageStream) Convenience constructor passing in a stream, not rethrowing exceptions. |
|
DefaultErrorHandler(PrintWriter messageWriter) Constructor constructor. |
Method Summary | |
---|---|
void |
error(SAXParseException exception) |
void |
error(TransformerException exception) |
void |
fatalError(SAXParseException exception) |
void |
fatalError(TransformerException exception) |
void |
warning(SAXParseException exception) |
void |
warning(TransformerException exception) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultErrorHandler(PrintStream messageStream)
messageStream
- the stream to write messages to.
public DefaultErrorHandler()
System.err
.
public DefaultErrorHandler(PrintWriter messageWriter)
messageWriter
- the writer to write fatals, errors and warnings to.
Method Detail |
---|
public void warning(TransformerException exception) throws TransformerException
warning
in interface
ErrorListener
TransformerException
public void error(TransformerException exception) throws TransformerException
error
in interface
ErrorListener
TransformerException
public void fatalError(TransformerException exception) throws TransformerException
fatalError
in interface
ErrorListener
TransformerException
public void warning(SAXParseException exception) throws SAXException
warning
in interface
ErrorHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface
ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface
ErrorHandler
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |