Team LiB
Previous Section Next Section

NoSuchFieldExceptionjava.lang

Java 1.1serializable checked

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

Figure 10-43. java.lang.NoSuchFieldException


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

Thrown By

Class.{getDeclaredField( ), getField( )}

    Team LiB
    Previous Section Next Section