InternalError Constructors

Definition

Overloads

InternalError()

Constructs an InternalError with no detail message.

InternalError(Throwable)

Constructs an InternalError with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

InternalError(String)

Constructs an InternalError with the specified detail message.

InternalError(IntPtr, JniHandleOwnership)

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

InternalError(String, Throwable)

Constructs an InternalError with the specified detail message and cause.

InternalError()

Constructs an InternalError with no detail message.

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

Remarks

Constructs an InternalError with no detail message.

Java documentation for java.lang.InternalError.InternalError().

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

InternalError(Throwable)

Constructs an InternalError with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=24)]
public InternalError (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=24)>]
new Java.Lang.InternalError : Java.Lang.Throwable -> Java.Lang.InternalError

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Constructs an InternalError with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Added in 1.8.

Java documentation for java.lang.InternalError.InternalError(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

InternalError(String)

Constructs an InternalError with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public InternalError (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.InternalError : string -> Java.Lang.InternalError

Parameters

message
String

the detail message.

Attributes

Remarks

Constructs an InternalError with the specified detail message.

Java documentation for java.lang.InternalError.InternalError(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

InternalError(IntPtr, JniHandleOwnership)

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

protected InternalError (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.InternalError : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.InternalError

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

InternalError(String, Throwable)

Constructs an InternalError with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=24)]
public InternalError (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=24)>]
new Java.Lang.InternalError : string * Java.Lang.Throwable -> Java.Lang.InternalError

Parameters

message
String

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

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Constructs an InternalError with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this error's detail message.

Added in 1.8.

Java documentation for java.lang.InternalError.InternalError(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