public class GroovyCastException extends ClassCastException
| Constructor and description | 
|---|
| GroovyCastException
                                (Object objectToCast, Class classToCastTo, Exception cause)
 | 
| GroovyCastException
                                (Object objectToCast, Class classToCastTo)
 | 
| GroovyCastException
                                (String message)
 | 
| Methods inherited from class | Name | 
|---|---|
| class ClassCastException | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll | 
objectToCast -  object we tried to castclassToCastTo -  class we tried to cast tocause -  not kept but we pass on message from this Exception if any
objectToCast -  object we tried to castclassToCastTo -  class we tried to cast to
message -  custom Exception messageCopyright © 2003-2024 The Apache Software Foundation. All rights reserved.