Język

JavaException Constructors

Definition

Overloads

Name Description
JavaException()

Constructs a new throwable with null as its detail message.

JavaException(String)

Constructs a new throwable with the specified detail message.

JavaException(JniObjectReference, JniObjectReferenceOptions)
JavaException(String, Exception)
JavaException(JniObjectReference, JniObjectReferenceOptions, JniObjectReference)

JavaException()

Constructs a new throwable with null as its detail message.

public JavaException();

Remarks

Constructs a new throwable with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause(java.lang.Throwable). The fillInStackTrace() method is called to initialize the stack trace data in the newly created throwable.

Java reference for java.lang.Throwable.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

JavaException(String)

Constructs a new throwable with the specified detail message.

public JavaException(string message);
new Java.Interop.JavaException : string -> Java.Interop.JavaException

Parameters

message
String

the detail message. The detail message is saved for later retrieval by the getMessage() method.

Remarks

Constructs a new throwable with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause(java.lang.Throwable). The fillInStackTrace() method is called to initialize the stack trace data in the newly created throwable.

Java reference for java.lang.Throwable.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

JavaException(JniObjectReference, JniObjectReferenceOptions)

public JavaException(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions transfer);
new Java.Interop.JavaException : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaException

Parameters

reference
JniObjectReference

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

JavaException(String, Exception)

public JavaException(string message, Exception innerException);
new Java.Interop.JavaException : string * Exception -> Java.Interop.JavaException

Parameters

message
String
innerException
Exception

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

JavaException(JniObjectReference, JniObjectReferenceOptions, JniObjectReference)

protected JavaException(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions transfer, Java.Interop.JniObjectReference throwableOverride);
new Java.Interop.JavaException : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Java.Interop.JniObjectReference -> Java.Interop.JavaException

Parameters

reference
JniObjectReference
throwableOverride
JniObjectReference

Applies to