Team LiB
Previous Section Next Section

ClassNotFoundExceptionjava.lang

Java 1.0serializable checked

Signals that a class to be loaded cannot be found. If an exception of this type was caused by some underlying exception, you can query that lower-level exeption with getException( ) or with the newer, more general getCause( ).

Figure 10-14. java.lang.ClassNotFoundException


public class ClassNotFoundException extends Exception {
// Public Constructors
     public ClassNotFoundException( );  
     public ClassNotFoundException(String s);  
1.2  public ClassNotFoundException(String s, Throwable ex);  
// Public Instance Methods
1.2  public Throwable getException( );                                default:null
// Public Methods Overriding Throwable
1.4  public Throwable getCause( );                                    default:null
}

Thrown By

Too many methods to list.

    Team LiB
    Previous Section Next Section