다음을 통해 공유


HandlerBase.Warning(SAXParseException) Method

Definition

Caution

deprecated

Receive notification of a parser warning.

[Android.Runtime.Register("warning", "(Lorg/xml/sax/SAXParseException;)V", "GetWarning_Lorg_xml_sax_SAXParseException_Handler")]
[System.Obsolete("deprecated")]
public virtual void Warning (Org.Xml.Sax.SAXParseException? e);
[<Android.Runtime.Register("warning", "(Lorg/xml/sax/SAXParseException;)V", "GetWarning_Lorg_xml_sax_SAXParseException_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member Warning : Org.Xml.Sax.SAXParseException -> unit
override this.Warning : 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 parser warning.

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

Java documentation for org.xml.sax.HandlerBase.warning(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