Packages  This Package  Prev  Next  Index  
	§1.55 Class NoSuchFieldError
public  class  java.lang.NoSuchFieldError
    extends  java.lang.IncompatibleClassChangeError  (I-§1.50)
{
        // Constructors
    public NoSuchFieldError();	§1.55.1
    public NoSuchFieldError(String  s);	§1.55.2
}
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 runtime if the 
definition of a class has incompatibably changed.
 
NoSuchFieldError
public NoSuchFieldError()
- Constructs a NoSuchFieldException with no detail message. 
 
NoSuchFieldError
public NoSuchFieldError(String  s)
- Constructs a NoSuchFieldException with the specified detail message. 
 
- Parameters:
- s
- the detail message
 
Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com