java.lang
public class ClassNotFoundException extends Exception
See Also: forName findSystemClass ClassLoader
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
ClassNotFoundException()
Create an exception without a message. | |
ClassNotFoundException(String s)
Create an exception with a message. | |
ClassNotFoundException(String s, Throwable ex)
Create an exception with a message and chain it to the exception
which occurred while loading the class.
|
Method Summary | |
---|---|
Throwable | getCause()
Returns the exception which occurred while loading the class,
otherwise returns null.
|
Throwable | getException()
Returns the exception which occurred while loading the class,
otherwise returns null. |
Parameters: s the message
Parameters: s the message ex the chained exception
Since: 1.2
Returns: the cause of this exception
Since: 1.4
Returns: the cause of this exception
Since: 1.2