IErrorListener.Error(TransformerException) Method

Definition

Receive notification of a recoverable error.

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

Parameters

exception
TransformerException

The error information encapsulated in a transformer exception.

Attributes

Exceptions

if the application chooses to discontinue the transformation.

Remarks

Receive notification of a recoverable error.

The transformer must continue to try and provide normal transformation after invoking this method. It should still be possible for the application to process the document through to the end if no other errors are encountered.

Java documentation for javax.xml.transform.ErrorListener.error(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