Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.lang.ClassNotFoundException extends java.lang.Exception { // Constructors public ClassNotFoundException(); public ClassNotFoundException(String s); }
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.
public ClassNotFoundException()Constructs a ClassNotFoundException with no detail message.
public ClassNotFoundException(String s)Constructs a ClassNotFoundException with the specified detail message.
Parameter Description s the detail message