Team LiB
Previous Section Next Section

InstantiationExceptionjava.lang

Java 1.0serializable checked

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

Figure 10-34. java.lang.InstantiationException


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

Thrown By

Class.newInstance( ), java.lang.reflect.Constructor.newInstance( ), org.xml.sax.helpers.ParserFactory.makeParser( )

    Team LiB
    Previous Section Next Section