Documentation  › java.lang  › InstantiationException
 
 


  InstantiationException
  public

  Inherits From:   Exception : Throwable : Object
  Conforms To:   none
  Declared In:   java.lang


Exception Description
 
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.


Class Variables
 
None declared in this exception.


Instance Variables
 
None declared in this exception.


Constructors
 
InstantiationException
public InstantiationException( )

Constructs an InstantiationException with no detail message.


InstantiationException
public InstantiationException( String s )

Constructs an InstantiationException with the specified detail message.


Class Methods
 
None declared in this exception.


Instance Methods
 
None declared in this exception.


Known Subclasses
 
None.



 
 
  dydoc
  3/10/05