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

Public Member Functions

 ClassCastException ()
 
 ClassCastException (String detailMessage)
 
- Public Member Functions inherited from java.lang.RuntimeException
 RuntimeException ()
 
 RuntimeException (String detailMessage)
 
- 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 program attempts to cast a an object to a type with which it is not compatible.

Constructor & Destructor Documentation

◆ ClassCastException() [1/2]

java.lang.ClassCastException.ClassCastException ( )
inline

Constructs a new

that includes the current stack trace.

◆ ClassCastException() [2/2]

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

Constructs a new

with the current stack trace and the specified detail message.

Parameters
detailMessagethe detail message for this exception.

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