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, getStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, 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-2022 The Apache Software Foundation. All rights reserved.