java.lang
Class InstantiationError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.LinkageError
              extended by java.lang.IncompatibleClassChangeError
                  extended by java.lang.InstantiationError
All Implemented Interfaces:
Serializable

public class InstantiationError
extends IncompatibleClassChangeError

An InstantiationError is thrown when an attempt is made to create an instance of an abstract class or an interface. Because this error is usually caught by a compiler, the error only occurs at runtime when the definition of a class has changed in a way that is incompatible with the previously compiled application.

See Also:
Serialized Form

Constructor Summary
InstantiationError()
          Create an error without a message.
InstantiationError(String s)
          Create an error with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationError

public InstantiationError()
Create an error without a message.


InstantiationError

public InstantiationError(String s)
Create an error with a message.

Parameters:
s - the message