java.lang
Class InstantiationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.InstantiationException

public class InstantiationException
extends Exception

Signals that an attempt has been made to instantiate an abstract class or an interface.


Constructor Summary
InstantiationException()
          Constructs an InstantiationException with no detail message.
InstantiationException(String s)
          Constructs an InstantiationException 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

InstantiationException

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


InstantiationException

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

Parameters:
s - the String containing a detail message