org.jdtaus.core.container
Class InstantiationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalStateException
                  extended byorg.jdtaus.core.container.InstantiationException
All Implemented Interfaces:
Serializable

public class InstantiationException
extends IllegalStateException

Gets thrown when creating an instance of an implementation fails.

Version:
$Id: InstantiationException.java 1914 2007-03-01 02:20:44Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
InstantiationException(String identifier, Throwable cause)
          Creates a new instance.
 
Method Summary
 String getIdentifier()
          Gets the identifier of the implementation for which creating an instance failed.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationException

public InstantiationException(String identifier,
                              Throwable cause)
Creates a new instance.

Parameters:
identifier - the identifier of the implementation for which creating an instance failed.
cause - the cause of the exception.
Method Detail

getIdentifier

public String getIdentifier()
Gets the identifier of the implementation for which creating an instance failed.

Returns:
the identifier of the implementation for which creating an instance failed or .


Copyright © 2005-2007 jDTAUS. All Rights Reserved.