Android Guides | Samples

Java.Lang.NoSuchFieldError Class

Thrown when the VM notices that a program tries to reference, on a class or object, a field that does not exist.

See Also: NoSuchFieldError

Syntax

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

Remarks

Thrown when the VM notices that a program tries to reference, on a class or object, a field that does not exist.

Note that this can only occur when inconsistent class files are being loaded.

[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.NoSuchFieldError are listed below.

See Also: IncompatibleClassChangeError

Public Constructors

Constructs a new NoSuchFieldError that includes the current stack trace.
Constructs a new NoSuchFieldError with the current stack trace and the specified detail message.

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.