MissingResourceException Constructors

Definition

Overloads

MissingResourceException(IntPtr, JniHandleOwnership)

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

MissingResourceException(String, String, String)

Constructs a MissingResourceException with the specified information.

MissingResourceException(IntPtr, JniHandleOwnership)

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

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

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

MissingResourceException(String, String, String)

Constructs a MissingResourceException with the specified information.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "")]
public MissingResourceException (string? s, string? className, string? key);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Util.MissingResourceException : string * string * string -> Java.Util.MissingResourceException

Parameters

s
String

the detail message

className
String

the name of the resource class

key
String

the key for the missing resource.

Attributes

Remarks

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

Java documentation for java.util.MissingResourceException.MissingResourceException(java.lang.String, java.lang.String, 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