Share via


TransformerConfigurationException Constructors

Definition

Overloads

TransformerConfigurationException()

Create a new TransformerConfigurationException with no detail message.

TransformerConfigurationException(Throwable)

Create a new TransformerConfigurationException with a given Exception base cause of the error.

TransformerConfigurationException(String)

Create a new TransformerConfigurationException with the String specified as an error message.

TransformerConfigurationException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

TransformerConfigurationException(String, Throwable)

Create a new TransformerConfigurationException with the given Exception base cause and detail message.

TransformerConfigurationException(String, ISourceLocator)

Create a new TransformerConfigurationException from a message and a Locator.

TransformerConfigurationException(String, ISourceLocator, Throwable)

Wrap an existing exception in a TransformerConfigurationException.

TransformerConfigurationException()

Create a new TransformerConfigurationException with no detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public TransformerConfigurationException ();
Attributes

Remarks

Create a new TransformerConfigurationException with no detail message.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException().

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

TransformerConfigurationException(Throwable)

Create a new TransformerConfigurationException with a given Exception base cause of the error.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public TransformerConfigurationException (Java.Lang.Throwable? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Javax.Xml.Transform.TransformerConfigurationException : Java.Lang.Throwable -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

e
Throwable

The exception to be encapsulated in a TransformerConfigurationException.

Attributes

Remarks

Create a new TransformerConfigurationException with a given Exception base cause of the error.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException(java.lang.Throwable).

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

TransformerConfigurationException(String)

Create a new TransformerConfigurationException with the String specified as an error message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public TransformerConfigurationException (string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Javax.Xml.Transform.TransformerConfigurationException : string -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

msg
String

The error message for the exception.

Attributes

Remarks

Create a new TransformerConfigurationException with the String specified as an error message.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException(java.lang.String).

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

TransformerConfigurationException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected TransformerConfigurationException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Xml.Transform.TransformerConfigurationException : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

TransformerConfigurationException(String, Throwable)

Create a new TransformerConfigurationException with the given Exception base cause and detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public TransformerConfigurationException (string? msg, Java.Lang.Throwable? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Javax.Xml.Transform.TransformerConfigurationException : string * Java.Lang.Throwable -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

msg
String

The detail message.

e
Throwable

The exception to be encapsulated in a TransformerConfigurationException

Attributes

Remarks

Create a new TransformerConfigurationException with the given Exception base cause and detail message.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException(java.lang.String, java.lang.Throwable).

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

TransformerConfigurationException(String, ISourceLocator)

Create a new TransformerConfigurationException from a message and a Locator.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V", "")]
public TransformerConfigurationException (string? message, Javax.Xml.Transform.ISourceLocator? locator);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V", "")>]
new Javax.Xml.Transform.TransformerConfigurationException : string * Javax.Xml.Transform.ISourceLocator -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

message
String

The error or warning message.

locator
ISourceLocator

The locator object for the error or warning.

Attributes

Remarks

Create a new TransformerConfigurationException from a message and a Locator.

This constructor is especially useful when an application is creating its own exception from within a DocumentHandler callback.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException(java.lang.String, javax.xml.transform.SourceLocator).

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

TransformerConfigurationException(String, ISourceLocator, Throwable)

Wrap an existing exception in a TransformerConfigurationException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V", "")]
public TransformerConfigurationException (string? message, Javax.Xml.Transform.ISourceLocator? locator, Java.Lang.Throwable? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V", "")>]
new Javax.Xml.Transform.TransformerConfigurationException : string * Javax.Xml.Transform.ISourceLocator * Java.Lang.Throwable -> Javax.Xml.Transform.TransformerConfigurationException

Parameters

message
String

The error or warning message, or null to use the message from the embedded exception.

locator
ISourceLocator

The locator object for the error or warning.

e
Throwable

Any exception.

Attributes

Remarks

Wrap an existing exception in a TransformerConfigurationException.

Java documentation for javax.xml.transform.TransformerConfigurationException.TransformerConfigurationException(java.lang.String, javax.xml.transform.SourceLocator, java.lang.Throwable).

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