| Constructor and description | 
|---|
| GroovyCastException
                                (Object objectToCast, Class classToCastTo, Exception cause)@param objectToCast object we tried to cast | 
| GroovyCastException
                                (Object objectToCast, Class classToCastTo)@param objectToCast object we tried to cast | 
| GroovyCastException
                                (String message)@param message custom Exception 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-2021 The Apache Software Foundation. All rights reserved.