Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
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.
public NoSuchFieldError()Constructs a NoSuchFieldException with no detail message.
public NoSuchFieldError(String s)Constructs a NoSuchFieldException with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.