java.lang
Class NoSuchFieldError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchFieldError
- All Implemented Interfaces:
- Serializable
public class NoSuchFieldError
- extends IncompatibleClassChangeError
A NoSuchFieldError
is thrown if an application attempts
to access a field of a class, and that class no longer has that field.
This is normally detected by the compiler, so it signals that you are
using binary incompatible class versions.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchFieldError
public NoSuchFieldError()
- Create an error without a message.
NoSuchFieldError
public NoSuchFieldError(String s)
- Create an error with a message.
- Parameters:
s
- the message