APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class NoSuchFieldError

extends IncompatibleClassChangeError
Class Inheritance

Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.

Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NoSuchFieldError()

Constructs a NoSuchFieldError with no detail message.

public
NoSuchFieldError(String
the detail message.
s
)

Constructs a NoSuchFieldError with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IncompatibleClassChangeError.serialVersionUID.

Annotations
@Serial

Constructor Detail

NoSuchFieldErrorback to summary
public NoSuchFieldError()

Constructs a NoSuchFieldError with no detail message.

NoSuchFieldErrorback to summary
public NoSuchFieldError(String s)

Constructs a NoSuchFieldError with the specified detail message.

Parameters
s:String

the detail message.