java.lang
public class ClassCastException extends RuntimeException
Object o = new Vector(); String s = (String) o;
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| ClassCastException()
Create an exception without a message. | |
| ClassCastException(String s)
Create an exception with a message.
| |
Parameters: s the message