Lingua

IllegalCallerException Constructors

Definition

Overloads

Name Description
IllegalCallerException()

Constructs an IllegalCallerException with no detail message.

IllegalCallerException(Throwable)

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

IllegalCallerException(String)

Constructs an IllegalCallerException with the specified detail message.

IllegalCallerException(IntPtr, JniHandleOwnership)
IllegalCallerException(String, Throwable)

Constructs a new exception with the specified detail message and cause.

IllegalCallerException()

Constructs an IllegalCallerException with no detail message.

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

Remarks

Constructs an IllegalCallerException with no detail message.

Java reference for java.lang.IllegalCallerException.IllegalCallerException.

Applies to

IllegalCallerException(Throwable)

Constructs a new exception 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=37)]
public IllegalCallerException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=37)>]
new Java.Lang.IllegalCallerException : Java.Lang.Throwable -> Java.Lang.IllegalCallerException

Parameters

cause
Throwable

the cause (can be null)

Attributes

Remarks

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

Java reference for java.lang.IllegalCallerException.IllegalCallerException.

Applies to

IllegalCallerException(String)

Constructs an IllegalCallerException with the specified detail message.

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

Parameters

s
String

the String that contains a detailed message (can be null)

Attributes

Remarks

Constructs an IllegalCallerException with the specified detail message.

Java reference for java.lang.IllegalCallerException.IllegalCallerException.

Applies to

IllegalCallerException(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

Applies to

IllegalCallerException(String, Throwable)

Constructs a new exception with the specified detail message and cause.

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

Parameters

message
String

the detail message (can be null)

cause
Throwable

the cause (can be null)

Attributes

Remarks

Constructs a new exception with the specified detail message and cause.

Java reference for java.lang.IllegalCallerException.IllegalCallerException.

Applies to