home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Java in a Nutshell

Previous Chapter 25
The java.lang Package

25.9 java.lang.ClassCastException (JDK 1.0)

Signals an invalid cast of an object to a type of which it is not an instance.

public class ClassCastException extends RuntimeException {
    // Public Constructors
            public ClassCastException();
            public ClassCastException(String s);



Previous Home Next
java.lang.Class (JDK 1.0) Book Index java.lang.ClassCircularityError (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java