Packages This Package Prev Next Index
§1.28 Class ClassNotFoundException
public class java.lang.ClassNotFoundException
extends java.lang.Exception (I-§1.30)
{
// Constructors
public ClassNotFoundException(); §1.28.1
public ClassNotFoundException(String s); §1.28.2
}
Thrown when an application tries to load in a class through its string name using
but no definition for the class with the specifed name could be found.
ClassNotFoundException
public ClassNotFoundException()
- Constructs a ClassNotFoundException with no detail message.
ClassNotFoundException
public ClassNotFoundException(String s)
- Constructs a ClassNotFoundException with the specified detail message.
- Parameters:
s
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com