Package ghidra.util.xml
Class XmlUtilities.ThrowingErrorHandler
- java.lang.Object
-
- ghidra.util.xml.XmlUtilities.ThrowingErrorHandler
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
- Enclosing class:
- XmlUtilities
public static class XmlUtilities.ThrowingErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandler
SimpleSAX error handler
that re-throws anySAXParseException
s as aSAXException
.
-
-
Constructor Summary
Constructors Constructor Description ThrowingErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException exception)
void
fatalError(org.xml.sax.SAXParseException exception)
void
warning(org.xml.sax.SAXParseException exception)
-
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
warning
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
-