public class ExceptionThrowingDefaultHandler extends DefaultHandler
Default handler that re-throws all exceptions that it receives.
Modifier and Type | Field and Description |
---|---|
static ExceptionThrowingDefaultHandler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
warning(SAXParseException exception) |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
public static final ExceptionThrowingDefaultHandler INSTANCE
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
warning
in class DefaultHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
error
in class DefaultHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
fatalError
in class DefaultHandler
SAXException
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.