Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class NoSuchFieldError

Constructors

public  class  java.lang.NoSuchFieldError
    extends  java.lang.IncompatibleClassChangeError  
{
        // Constructors
    public NoSuchFieldError();	
    public NoSuchFieldError(String  s);	
}

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.


Constructors


NoSuchFieldError

public NoSuchFieldError() 

Constructs a NoSuchFieldException with no detail message.


NoSuchFieldError

public NoSuchFieldError(String  s) 

Constructs a NoSuchFieldException with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.