Class NoSuchFieldError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchFieldError
- All Implemented Interfaces:
Serializable
Thrown if an application tries to access or modify a specifiedfield of an object, and that object no longer has that field.
Normally, this error is caught by the compiler; this error canonly occur at run time if the definition of a class hasincompatibly changed.
- Since:
- 1.0
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNoSuchFieldErrorwith no detail message.Constructs aNoSuchFieldErrorwith the specifieddetail message.Method Summary
Constructor Details
NoSuchFieldError
public NoSuchFieldError()Constructs aNoSuchFieldErrorwith no detail message.NoSuchFieldError
Constructs aNoSuchFieldErrorwith the specifieddetail message.- Parameters:
s- the detail message.