Class java.lang.InstantiationError
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.InstantiationError

Object
   |
   +----Throwable
           |
           +----Error
                   |
                   +----LinkageError
                           |
                           +----IncompatibleClassChangeError
                                   |
                                   +----java.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.

Version:
1.5, 07/01/98
Author:
unascribed
Since:
JDK1.0

Constructor Index

 o java.lang.InstantiationError()
Constructs an InstantiationError with no detail message.
 o java.lang.InstantiationError(String)
Constructs an InstantiationError with the specified detail message.

Constructors

 o InstantiationError
public InstantiationError()
Constructs an InstantiationError with no detail message.

Since:
JDK1.0
 o InstantiationError
public InstantiationError(String s)
Constructs an InstantiationError with the specified detail message.

Parameters:
s - the detail message.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index