Serializable
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a
ClassCastException
:
Object x = Integer.valueOf(0); System.out.println((String)x);
Constructors
Constructs a ClassCastException
with no detail message.
Constructs a ClassCastException
with the specified detail message.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClassCastException()
Constructs a ClassCastException
with no detail message.
Constructs a ClassCastException
with the specified detail message.
s
- the detail message.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4