DthingApi
Public Member Functions | List of all members
java.lang.ClassNotFoundException Class Reference
Inheritance diagram for java.lang.ClassNotFoundException:
java.lang.Exception java.lang.Throwable

Public Member Functions

 ClassNotFoundException ()
 
 ClassNotFoundException (String detailMessage)
 
 ClassNotFoundException (String detailMessage, Throwable exception)
 
Throwable getException ()
 
- Public Member Functions inherited from java.lang.Exception
 Exception ()
 
 Exception (String detailMessage)
 
- Public Member Functions inherited from java.lang.Throwable
 Throwable ()
 
 Throwable (String detailMessage)
 
String getMessage ()
 
String getLocalizedMessage ()
 
void printStackTrace ()
 
String toString ()
 

Detailed Description

Thrown when a class loader is unable to find a class.

Constructor & Destructor Documentation

◆ ClassNotFoundException() [1/3]

java.lang.ClassNotFoundException.ClassNotFoundException ( )
inline

Constructs a new

that includes the current stack trace.

◆ ClassNotFoundException() [2/3]

java.lang.ClassNotFoundException.ClassNotFoundException ( String  detailMessage)
inline

Constructs a new

with the current stack trace and the specified detail message.

Parameters
detailMessagethe detail message for this exception.

◆ ClassNotFoundException() [3/3]

java.lang.ClassNotFoundException.ClassNotFoundException ( String  detailMessage,
Throwable  exception 
)
inline

Constructs a new

with the current stack trace, the specified detail message and the exception that occurred when loading the class.

Parameters
detailMessagethe detail message for this exception.
exceptionthe exception which occurred while loading the class.

Member Function Documentation

◆ getException()

Throwable java.lang.ClassNotFoundException.getException ( )
inline

Returns the exception which occurred when loading the class.

Returns
Throwable the exception which occurred while loading the class.

The documentation for this class was generated from the following file: