| 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 |
addSuppressed, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait |
class RuntimeException |
addSuppressed, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait |
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-2019 The Apache Software Foundation. All rights reserved.