Name
java.lang.ClassCastException
Synopsis
This exception is identical to its J2SE counterpart. It signifies an illegal attempt to cast an object to a class of which the object is not an instance.
public classClassCastException
extends java.lang.RuntimeException { // constructors publicClassCastException
(); publicClassCaseException
(String s); }
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.