org.jdtaus.core.container
Class ImplementationException

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.ImplementationException
All Implemented Interfaces:
Serializable

public class ImplementationException
extends IllegalStateException

Gets thrown when an implementation fails to operate.

Version:
$Id: ImplementationException.java 8044 2009-07-02 01:29:05Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
ImplementationException(Implementation implementation)
          Creates a new instance of ImplementationException taking meta-data of the failing implementation.
ImplementationException(Implementation implementation, String msg)
          Creates a new instance of ImplementationException taking a message.
ImplementationException(Implementation implementation, Throwable cause)
          Creates a new instance of ImplementationException taking a causing Throwable.
 
Method Summary
 Implementation getImplementation()
          Gets the failing implementation.
 
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

ImplementationException

public ImplementationException(Implementation implementation)
Creates a new instance of ImplementationException taking meta-data of the failing implementation.

Parameters:
implementation - the failing implementation.
Throws:
NullPointerException - if implementation is null.

ImplementationException

public ImplementationException(Implementation implementation,
                               String msg)
Creates a new instance of ImplementationException taking a message.

Parameters:
implementation - the failing implementation.
msg - the message describing the error.
Throws:
NullPointerException - if implementation is null.

ImplementationException

public ImplementationException(Implementation implementation,
                               Throwable cause)
Creates a new instance of ImplementationException taking a causing Throwable.

Parameters:
implementation - the failing implementation.
cause - the causing throwable.
Throws:
NullPointerException - if either implementation or cause is null.
Method Detail

getImplementation

public Implementation getImplementation()
Gets the failing implementation.

Returns:
the failing implementation or null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.