Android Guides | Samples

Java.Lang.EnumConstantNotPresentException Class

Thrown if an enum constant does not exist for a particular name.

See Also: EnumConstantNotPresentException

Syntax

[Android.Runtime.Register("java/lang/EnumConstantNotPresentException", DoNotGenerateAcw=true)]
public class EnumConstantNotPresentException : RuntimeException

Remarks

Thrown if an enum constant does not exist for a particular name.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.EnumConstantNotPresentException are listed below.

See Also: RuntimeException

Public Constructors

Protected Constructors

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

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ConstantName() : String
Gets the name of the missing constant.
EnumType() : Class
Gets the enum type for which the constant name is missing.