Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.13 java.lang.ClassNotFoundException (JDK 1.0)

Signals that a class to be loaded could not be found.

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

Hierarchy:

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

Thrown By:

Beans.instantiate(), Class.forName(), ClassLoader.findSystemClass(), ClassLoader.loadClass(), Externalizable.readExternal(), ObjectInput.readObject(), ObjectInputStream.defaultReadObject(), ObjectInputStream.readObject(), ObjectInputStream.resolveClass()


Previous Home Next
java.lang.ClassLoader (JDK 1.0) Book Index java.lang.CloneNotSupportedException (JDK 1.0)

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