|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.ClassNotFoundException
public class ClassNotFoundException
ClassNotFoundException is thrown by methods such as Class.forName() if an attempt to load a class failed.
| Constructor Summary | |
|---|---|
ClassNotFoundException()
Constructor for a ClassNotFoundException with no detail message. |
|
ClassNotFoundException(String s)
Constructor for a ClassNotFoundException with given detail message. |
|
ClassNotFoundException(String s,
Throwable ex)
Constructor for a ClassNotFoundException with given detail message and cause. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
getCause returns the exception that caused this ClassNotFoundException, null if none. |
Throwable |
getException()
getException returns the exception that caused this ClassNotFoundException, null if none. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassNotFoundException()
public ClassNotFoundException(String s)
ensures
(s != null IMPLIES getMessage().equals(s));
s - the detail message.
public ClassNotFoundException(String s,
Throwable ex)
ensures
(s != null IMPLIES getMessage().equals(s),
ex != null IMPLIES getCause() == ex);
s - the detail message.ex - the cause why this exception was created or null if
none.| Method Detail |
|---|
public Throwable getException()
public Throwable getCause()
getCause in class Throwable
|
Jamaica 6.4 release 1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||