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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs a new ClassNotFoundException
that includes the current
stack trace.
Constructs a new ClassNotFoundException
with the current stack
trace and the specified detail message.
detailMessage | 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.
detailMessage | the detail message for this exception. |
---|---|
exception | the exception which occurred while loading the class. |
Returns the cause of this Throwable, or null
if there is no
cause.
Returns the exception which occurred when loading the class.