Language

Resources.NotFoundException Constructors

Definition

Overloads

Name Description
Resources.NotFoundException()

Initializes a resource-not-found exception without a detail message.

Resources.NotFoundException(String)

Initializes a resource-not-found exception with the specified detail message.

Resources.NotFoundException(IntPtr, JniHandleOwnership)

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

Resources.NotFoundException(String, Exception)

Initializes a resource-not-found exception with the specified detail message and cause.

Resources.NotFoundException()

Initializes a resource-not-found exception without a detail message.

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

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

Resources.NotFoundException(String)

Initializes a resource-not-found exception with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public NotFoundException(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Content.Res.Resources.NotFoundException : string -> Android.Content.Res.Resources.NotFoundException

Parameters

name
String

The detail message, or null.

Attributes

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

Resources.NotFoundException(IntPtr, JniHandleOwnership)

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

protected NotFoundException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.Res.Resources.NotFoundException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.Res.Resources.NotFoundException

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

Resources.NotFoundException(String, Exception)

Initializes a resource-not-found exception with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "", ApiSince=24)]
public NotFoundException(string? name, Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "", ApiSince=24)>]
new Android.Content.Res.Resources.NotFoundException : string * Java.Lang.Exception -> Android.Content.Res.Resources.NotFoundException

Parameters

name
String

The detail message, or null.

cause
Exception

The underlying exception, or null.

Attributes

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