Share via


SAXException Constructors

Definition

Overloads

SAXException()

Create a new SAXException.

SAXException(Exception)

Create a new SAXException wrapping an existing exception.

SAXException(String)

Create a new SAXException.

SAXException(IntPtr, JniHandleOwnership)

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

SAXException(String, Exception)

Create a new SAXException from an existing exception.

SAXException()

Create a new SAXException.

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

Remarks

Create a new SAXException.

Java documentation for org.xml.sax.SAXException.SAXException().

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

SAXException(Exception)

Create a new SAXException wrapping an existing exception.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")]
public SAXException (Java.Lang.Exception? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")>]
new Org.Xml.Sax.SAXException : Java.Lang.Exception -> Org.Xml.Sax.SAXException

Parameters

e
Exception

The exception to be wrapped in a SAXException.

Attributes

Remarks

Create a new SAXException wrapping an existing exception.

The existing exception will be embedded in the new one, and its message will become the default message for the SAXException.

Java documentation for org.xml.sax.SAXException.SAXException(java.lang.Exception).

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

SAXException(String)

Create a new SAXException.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SAXException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Xml.Sax.SAXException : string -> Org.Xml.Sax.SAXException

Parameters

message
String

The error or warning message.

Attributes

Remarks

Create a new SAXException.

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

SAXException(IntPtr, JniHandleOwnership)

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

protected SAXException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.SAXException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.SAXException

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

SAXException(String, Exception)

Create a new SAXException from an existing exception.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")]
public SAXException (string? message, Java.Lang.Exception? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")>]
new Org.Xml.Sax.SAXException : string * Java.Lang.Exception -> Org.Xml.Sax.SAXException

Parameters

message
String

The detail message.

e
Exception

The exception to be wrapped in a SAXException.

Attributes

Remarks

Create a new SAXException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Java documentation for org.xml.sax.SAXException.SAXException(java.lang.String, java.lang.Exception).

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