java.lang
Class InstantiationError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--java.lang.LinkageError
                    |
                    +--java.lang.IncompatibleClassChangeError
                          |
                          +--java.lang.InstantiationError

public class InstantiationError
extends IncompatibleClassChangeError

Signals that the interpreter has tried to instantiate an abstract class or an interface.


Constructor Summary
InstantiationError()
          Constructs an InstantiationError with no detail message.
InstantiationError(String s)
          Constructs an InstantiationError with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationError

public InstantiationError()
Constructs an InstantiationError with no detail message. A detail message is a String that describes this particular exception.


InstantiationError

public InstantiationError(String s)
Constructs an InstantiationError with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the String that contains the detail message