Share via


IErrorListener.Warning(TransformerException) Method

Definition

Receive notification of a warning.

[Android.Runtime.Register("warning", "(Ljavax/xml/transform/TransformerException;)V", "GetWarning_Ljavax_xml_transform_TransformerException_Handler:Javax.Xml.Transform.IErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Warning (Javax.Xml.Transform.TransformerException? exception);
[<Android.Runtime.Register("warning", "(Ljavax/xml/transform/TransformerException;)V", "GetWarning_Ljavax_xml_transform_TransformerException_Handler:Javax.Xml.Transform.IErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Warning : Javax.Xml.Transform.TransformerException -> unit

Parameters

exception
TransformerException

The warning information encapsulated in a transformer exception.

Attributes

Exceptions

if the application chooses to discontinue the transformation.

Remarks

Receive notification of a warning.

javax.xml.transform.Transformer can use this method to report conditions that are not errors or fatal errors. The default behavior is to take no action.

After invoking this method, the Transformer must continue with the transformation. It should still be possible for the application to process the document through to the end.

Java documentation for javax.xml.transform.ErrorListener.warning(javax.xml.transform.TransformerException).

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