TransformerConfigurationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TransformerConfigurationException() |
Create a new |
TransformerConfigurationException(Throwable) |
Create a new |
TransformerConfigurationException(String) |
Create a new |
TransformerConfigurationException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
TransformerConfigurationException(String, Throwable) |
Create a new |
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.
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
The exception to be encapsulated in a TransformerConfigurationException.
- Attributes
Remarks
Create a new TransformerConfigurationException
with a given Exception
base cause of the error.
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.
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
- 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.
The exception to be encapsulated in a TransformerConfigurationException
- Attributes
Remarks
Create a new TransformerConfigurationException
with the given Exception
base cause and detail message.
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.
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.
Any exception.
- Attributes
Remarks
Wrap an existing exception in a 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.