Method FatalError
FatalError(SAXParseException)
Report a fatal XML parsing error.
The default implementation throws a SAXParseException. Application writers may override this method in a subclass if they need to take specific actions for each fatal error (such as collecting all of the errors into a single report): in any case, the application must stop all regular processing when this method is invoked, since the document is no longer reliable, and the parser may no longer report parsing events.
Declaration
public virtual void FatalError(SAXParseException e)
Parameters
Type | Name | Description |
---|---|---|
SAXParseException | e | The error information encoded as an exception. |
Implements
Exceptions
Type | Condition |
---|---|
SAXException | Any SAX exception, possibly wrapping another exception. |