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


Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.31 java.lang.InstantiationException (JDK 1.0)

Signals an attempt to instantiate an interface or an abstract class.

public class InstantiationException extends Exception {
    // Public Constructors
            public InstantiationException();
            public InstantiationException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->InstantiationException

Thrown By:

Class.newInstance(), Constructor.newInstance()


Previous Home Next
java.lang.InstantiationError (JDK 1.0) Book Index java.lang.Integer (JDK 1.0)

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