org.jdtaus.core.container
Class InstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
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
|
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 |
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.
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.