No examples for this method. 
     
 
     
      Frequently called with: [Clear]  
     
 
      
    
 
     
     
     -1 
    
 
     
     
   | java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | java.lang.ClassCastException | |||
Thrown when a program attempts to cast a an object to a type with which it is not compatible.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
           Constructs a new 
            ClassCastExceptionthat includes the current stack trace. | ||||||||||
|  | 
           Constructs a new 
            ClassCastExceptionwith the current stack trace and the specified detail message. | ||||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class java.lang.Throwable | |||||||||||
|  From class java.lang.Object | |||||||||||
Constructs a new ClassCastException that includes the current stack trace. 
Constructs a new ClassCastException with the current stack trace and the specified detail message.
| detailMessage | the detail message for this exception. | 
|---|