Package ghidra.util.xml

# Class XmlUtilities.ThrowingErrorHandler

java.lang.Object
ghidra.util.xml.XmlUtilities.ThrowingErrorHandler

All Implemented Interfaces:
  `ErrorHandler`

Enclosing class:
  `XmlUtilities`

public static class XmlUtilities.ThrowingErrorHandler extends Object implements ErrorHandler
Simple `SAX error handler` that re-throws any `SAXParseException`s as a `SAXException`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThrowingErrorHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `error(SAXParseException exception)`
  `void`
  `fatalError(SAXParseException exception)`
  `void`
  `warning(SAXParseException exception)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ThrowingErrorHandler

    public ThrowingErrorHandler()

- ## Method Details

  - ### error

    public void error(SAXParseException exception) throws SAXException
    Specified by:
      `error` in interface `ErrorHandler`
    Throws:
      `SAXException`

  - ### fatalError

    public void fatalError(SAXParseException exception) throws SAXException
    Specified by:
      `fatalError` in interface `ErrorHandler`
    Throws:
      `SAXException`

  - ### warning

    public void warning(SAXParseException exception) throws SAXException
    Specified by:
      `warning` in interface `ErrorHandler`
    Throws:
      `SAXException`