|
Groovy 1.8.6 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ClassCastException
org.codehaus.groovy.runtime.typehandling.GroovyCastException
public class GroovyCastException extends ClassCastException
| Constructor Summary | |
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 |
|
| Method Summary |
|---|
| Methods inherited from class ClassCastException | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
| Methods inherited from class RuntimeException | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
public GroovyCastException(Object objectToCast, Class classToCastTo, Exception cause)
objectToCast - object we tried to castclassToCastTo - class we tried to cast tocause - not kept but we pass on message from this Exception if any
public GroovyCastException(Object objectToCast, Class classToCastTo)
objectToCast - object we tried to castclassToCastTo - class we tried to cast to
public GroovyCastException(String message)
message - custom Exception message
Copyright © 2003-2012 The Codehaus. All rights reserved.