FileDocCategorySizeDatePackage
InstantiationError.javaAPI DocJava SE 5 API1017Fri Aug 26 14:57:02 BST 2005java.lang

InstantiationError

public class InstantiationError extends IncompatibleClassChangeError
Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.

author
unascribed
version
1.12, 12/19/03
since
JDK1.0

Fields Summary
Constructors Summary
public InstantiationError()
Constructs an InstantiationError with no detail message.

	super();
    
public InstantiationError(String s)
Constructs an InstantiationError with the specified detail message.

param
s the detail message.

	super(s);
    
Methods Summary