java.lang.ClassCastException
This runtime exception is thrown when a program attempts to cast a an object
to a type which it is not compatible with.
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ClassCastException()
Constructs a new instance of this class with its walkback filled in.
public
ClassCastException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
detailMessage
| String The detail message for the exception.
|