FileDocCategorySizeDatePackage
NoSuchFieldError.javaAPI DocJava SE 5 API1008Fri Aug 26 14:57:02 BST 2005java.lang

NoSuchFieldError

public class NoSuchFieldError extends IncompatibleClassChangeError
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.

author
unascribed
version
1.12, 12/19/03
since
JDK1.0

Fields Summary
Constructors Summary
public NoSuchFieldError()
Constructs a NoSuchFieldException with no detail message.

	super();
    
public NoSuchFieldError(String s)
Constructs a NoSuchFieldException with the specified detail message.

param
s the detail message.

	super(s);
    
Methods Summary