public class java.lang
InstantiationError


Show All Login
Java SE 6
  
Extends: Throwable > Error > LinkageError > IncompatibleClassChangeError
Details
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.
version1.13, 11/17/05
sinceJDK1.0


Constructors
public InstantiationError()
Constructs an InstantiationError with no detail message.
public InstantiationError(String s) Details
Constructs an InstantiationError with the specified detail message.
sthe detail message.