Build 1.0_r1(from source)

java.lang
Class InstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.InstantiationException
All Implemented Interfaces:
Serializable

public class InstantiationException
extends Exception

This exception is thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.

See Also:
Serialized Form

Constructor Summary
InstantiationException()
          Constructs a new instance of this class with its walkback filled in.
InstantiationException(Class<?> clazz)
          Constructs a new instance of this class with its walkback and message filled in.
InstantiationException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
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

InstantiationException

public InstantiationException()
Constructs a new instance of this class with its walkback filled in.


InstantiationException

public InstantiationException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

InstantiationException

InstantiationException(Class<?> clazz)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
clazz - Class The class which cannot be instantiated.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature