java.lang
Class NoSuchFieldError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchFieldError
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.
NoSuchFieldError
public NoSuchFieldError()
- Create an error without a message.
NoSuchFieldError
public NoSuchFieldError(String s)
- Create an error with a message.
- Parameters:
s
- the message