Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.41 java.lang.NoSuchFieldException (JDK 1.1)

This exception signals that the specified field does not exist in the specified class.

public class NoSuchFieldException extends Exception {
    // Public Constructors
            public NoSuchFieldException();
            public NoSuchFieldException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->NoSuchFieldException

Thrown By:

Class.getDeclaredField(), Class.getField()


Previous Home Next
java.lang.NoSuchFieldError (JDK 1.0) Book Index java.lang.NoSuchMethodError (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java