Language

StringConcatException Constructors

Definition

Overloads

Name Description
StringConcatException(String)

Constructs an exception with a message

StringConcatException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

StringConcatException(String, Throwable)

Constructs an exception with a message and a linked throwable

StringConcatException(String)

Constructs an exception with a message

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

Parameters

msg
String

exception message

Attributes

Remarks

Constructs an exception with a message

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

StringConcatException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

StringConcatException(String, Throwable)

Constructs an exception with a message and a linked throwable

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

Parameters

msg
String

exception message

cause
Throwable

throwable cause

Attributes

Remarks

Constructs an exception with a message and a linked throwable

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