Sdílet prostřednictvím


DefaultHandler.Error(SAXParseException) Method

Definition

Receive notification of a recoverable parser error.

[Android.Runtime.Register("error", "(Lorg/xml/sax/SAXParseException;)V", "GetError_Lorg_xml_sax_SAXParseException_Handler")]
public virtual void Error (Org.Xml.Sax.SAXParseException? e);
[<Android.Runtime.Register("error", "(Lorg/xml/sax/SAXParseException;)V", "GetError_Lorg_xml_sax_SAXParseException_Handler")>]
abstract member Error : Org.Xml.Sax.SAXParseException -> unit
override this.Error : Org.Xml.Sax.SAXParseException -> unit

Parameters

e
SAXParseException

The warning information encoded as an exception.

Implements

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of a recoverable parser error.

The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each error, such as inserting the message in a log file or printing it to the console.

Java documentation for org.xml.sax.helpers.DefaultHandler.error(org.xml.sax.SAXParseException).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also