BootstrapMethodError Constructors

Definition

Overloads

Name Description
BootstrapMethodError()

Constructs a BootstrapMethodError with no detail message.

BootstrapMethodError(Throwable)

Constructs a BootstrapMethodError with the specified cause.

BootstrapMethodError(String)

Constructs a BootstrapMethodError with the specified detail message.

BootstrapMethodError(IntPtr, JniHandleOwnership)

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

BootstrapMethodError(String, Throwable)

Constructs a BootstrapMethodError with the specified detail message and cause.

BootstrapMethodError()

Constructs a BootstrapMethodError with no detail message.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)]
public BootstrapMethodError();
Attributes

Remarks

Constructs a BootstrapMethodError with no detail message.

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

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

BootstrapMethodError(Throwable)

Constructs a BootstrapMethodError with the specified cause.

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

Parameters

cause
Throwable

the cause, may be null.

Attributes

Remarks

Constructs a BootstrapMethodError with the specified cause.

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

BootstrapMethodError(String)

Constructs a BootstrapMethodError with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public BootstrapMethodError(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Lang.BootstrapMethodError : string -> Java.Lang.BootstrapMethodError

Parameters

s
String

the detail message.

Attributes

Remarks

Constructs a BootstrapMethodError with the specified detail message.

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

BootstrapMethodError(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr

nativeint

A IntPtr containing a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnership indicating 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

BootstrapMethodError(String, Throwable)

Constructs a BootstrapMethodError with the specified detail message and cause.

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

Parameters

s
String

the detail message.

cause
Throwable

the cause, may be null.

Attributes

Remarks

Constructs a BootstrapMethodError with the specified detail message and cause.

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