org.jdtaus.core.container
Class InstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.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 8044 2009-07-02 01:29:05Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
InstantiationException(String identifier, Throwable cause)
          Creates a new InstantiationException 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 InstantiationException 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 null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.