Packages This Package Prev Next Index
public class java.lang.InstantiationException extends java.lang.Exception (I-§1.30) { // Constructors public InstantiationException(); §1.36.1 public InstantiationException(String s); §1.36.2 }Thrown when an application tries to create an instance of a class using the new-Instance method (I-§1.3.7) in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
public InstantiationException()
public InstantiationException(String s)
s
-
the detail message
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)