public class DraconianErrorHandler extends Object implements ErrorHandler
ErrorHandler
implementing a brutal error handling policy.
Fatal errors and errors are handled by throwing the exception.
Warnings are ignored.Constructor and Description |
---|
DraconianErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
void |
warning(SAXParseException e) |
public void warning(SAXParseException e) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
SAXException