Tuesday 12 March 2013

java.lang ClassNotFoundException


java.lang
ClassNotFoundException

Declaration
public class ClassNotFoundException extends Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.ClassNotFoundException
Description
Thrown when an application tries to load in a class through its string name using the forName method in class
Class but no definition for the class with the specified name could be found.
Since: JDK1.0, CLDC 1.0

Constructors
ClassNotFoundException()
ClassNotFoundException(String s)


Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()


Constructors
ClassNotFoundException()
Declaration:
public ClassNotFoundException()


Description:
Constructs a ClassNotFoundException with no detail message.
ClassNotFoundException(String)
Declaration:
public ClassNotFoundException(java.lang.String s)
Description:
Constructs a ClassNotFoundException with the specified detail message.
Parameters:
s - the detail message.






No comments:

Post a Comment