javax.slee.management
Class DeploymentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.slee.management.DeploymentException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyDeployedException, DependencyException

public class DeploymentException
extends java.lang.Exception

This exception is thrown by methods defined in DeploymentMBean when a deployment operation fails due to a problem with the deployable unit.

See Also:
Serialized Form

Constructor Summary
DeploymentException(java.lang.String message)
          Create a DeploymentException with a detail message.
DeploymentException(java.lang.String message, java.lang.Throwable cause)
          Create a DeploymentException with a detail message and cause.
 
Method Summary
 java.lang.Throwable getCause()
          Get the cause (if any) for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentException

public DeploymentException(java.lang.String message)
Create a DeploymentException with a detail message.
Parameters:
message - the detail message.

DeploymentException

public DeploymentException(java.lang.String message,
                           java.lang.Throwable cause)
Create a DeploymentException with a detail message and cause.
Parameters:
message - the detail message.
cause - the reason this exception was thrown.
Method Detail

getCause

public java.lang.Throwable getCause()
Get the cause (if any) for this exception.
Returns:
the cause.