|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codesimian.CSCastException
public class CSCastException
CSCastException is thrown by CS objects when CS.L(Class) or CS.LForProxy(Class) can not cast the CS to the specified Class type.
Field Summary | |
---|---|
CS |
couldNotCastMe
|
java.lang.Class |
couldNotCastToThisType
The thrower of this CSCastException could not cast a CS to some Class type. |
java.lang.String |
message
|
Constructor Summary | |
---|---|
CSCastException()
couldNotCastToThisType is set to null. |
|
CSCastException(java.lang.Class couldNotCastToThisType)
Constructs a CSCastException with no detail message. |
|
CSCastException(java.lang.Class couldNotCastToThisType,
java.lang.String s)
Constructs a CSCastException with the specified detail message. |
|
CSCastException(CS couldNotCastMe,
java.lang.Class couldNotCastToThisType)
also remembers the CS that could not be cast to the Class type |
|
CSCastException(CS couldNotCastMe,
java.lang.Class couldNotCastToThisType,
java.lang.String s)
also remembers the CS that could not be cast to the Class type |
|
CSCastException(java.lang.String s)
couldNotCastToThisType is set to null. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final CS couldNotCastMe
public final java.lang.Class couldNotCastToThisType
public final java.lang.String message
Constructor Detail |
---|
public CSCastException()
public CSCastException(java.lang.String s)
public CSCastException(java.lang.Class couldNotCastToThisType)
public CSCastException(java.lang.Class couldNotCastToThisType, java.lang.String s)
public CSCastException(CS couldNotCastMe, java.lang.Class couldNotCastToThisType)
public CSCastException(CS couldNotCastMe, java.lang.Class couldNotCastToThisType, java.lang.String s)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |