Udostępnij za pośrednictwem


InvalidParameterException Constructors

Definition

Overloads

InvalidParameterException()

Constructs an InvalidParameterException with no detail message.

InvalidParameterException(String)

Constructs an InvalidParameterException with the specified detail message.

InvalidParameterException(IntPtr, JniHandleOwnership)

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

InvalidParameterException()

Constructs an InvalidParameterException with no detail message.

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

Remarks

Constructs an InvalidParameterException with no detail message. A detail message is a String that describes this particular exception.

Java documentation for java.security.InvalidParameterException.InvalidParameterException().

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

InvalidParameterException(String)

Constructs an InvalidParameterException with the specified detail message.

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

Parameters

msg
String

the detail message.

Attributes

Remarks

Constructs an InvalidParameterException with the specified detail message. A detail message is a String that describes this particular exception.

Java documentation for java.security.InvalidParameterException.InvalidParameterException(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

InvalidParameterException(IntPtr, JniHandleOwnership)

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

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

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