| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.ReflectiveOperationException | |||
| ↳ | java.lang.ClassNotFoundException | |||
Thrown when a class loader is unable to find a class.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
ClassNotFoundException that includes the current
stack trace.
| |||||||||||
Constructs a new
ClassNotFoundException with the current stack
trace and the specified detail message.
| |||||||||||
Constructs a new
ClassNotFoundException with the current stack
trace, the specified detail message and the exception that occurred when
loading the class.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the cause of this Throwable, or
null if there is no
cause.
| |||||||||||
Returns the exception which occurred when loading the class.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
Constructs a new ClassNotFoundException that includes the current
stack trace.
Constructs a new ClassNotFoundException with the current stack
trace and the specified detail message.
| Parameters | |
|---|---|
detailMessage |
String:
the detail message for this exception.
|
Constructs a new ClassNotFoundException with the current stack
trace, the specified detail message and the exception that occurred when
loading the class.
| Parameters | |
|---|---|
detailMessage |
String:
the detail message for this exception. |
exception |
Throwable:
the exception which occurred while loading the class.
|
Returns the cause of this Throwable, or null if there is no
cause.
| Returns | |
|---|---|
Throwable |
Throwable the receiver's cause. |
Returns the exception which occurred when loading the class.
| Returns | |
|---|---|
Throwable |
Throwable the exception which occurred while loading the class. |