Class GroovyCastException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ClassCastException
org.codehaus.groovy.runtime.typehandling.GroovyCastException
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGroovyCastException(Object objectToCast, Class classToCastTo) GroovyCastException(Object objectToCast, Class classToCastTo, Exception cause) GroovyCastException(String message) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
GroovyCastException- Parameters:
- objectToCast- object we tried to cast
- classToCastTo- class we tried to cast to
- cause- not kept but we pass on message from this Exception if any
 
- 
GroovyCastException- Parameters:
- objectToCast- object we tried to cast
- classToCastTo- class we tried to cast to
 
- 
GroovyCastException- Parameters:
- message- custom Exception message
 
 
-