org.ow2.bonita.facade.exception
Class DeploymentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.bonita.util.BonitaException
              extended by org.ow2.bonita.facade.exception.DeploymentException
All Implemented Interfaces:
java.io.Serializable

public class DeploymentException
extends BonitaException

Exception indicating a failure during the deployment operation.

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Constructor Summary
DeploymentException(DeploymentException e)
           
DeploymentException(java.lang.String msg)
          Constructs an DeploymentException with the specified detail message.
DeploymentException(java.lang.String msg, java.lang.String className)
          Constructs a DeploymentException with the specified detail message and className parameter.
DeploymentException(java.lang.String msg, java.lang.String className, PackageDefinitionUUID packageUUID)
          Constructs a DeploymentException with the specified detail message and className, packageDefinitionUUID parameters.
DeploymentException(java.lang.String msg, java.lang.String className, java.util.Set<PackageDefinitionUUID> packageUUIDs)
           
DeploymentException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a DeploymentException with the specified detail message and the throwable cause.
 
Method Summary
static DeploymentException build(java.lang.Throwable e)
           
 java.lang.String getClassName()
           
 PackageDefinitionUUID getPackageDefinitionUUID()
           
 java.util.Set<PackageDefinitionUUID> getPackageUUIDs()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentException

public DeploymentException(java.lang.String msg)
Constructs an DeploymentException with the specified detail message. ClassName and packageDefinitionUUID are set to null.

Parameters:
msg - the detail message.

DeploymentException

public DeploymentException(java.lang.String msg,
                           java.lang.Throwable cause)
Constructs a DeploymentException with the specified detail message and the throwable cause. ClassName and packageDefinitionUUID are set to null.

Parameters:
msg - the detail message.
cause - exception causing the abort.

DeploymentException

public DeploymentException(java.lang.String msg,
                           java.lang.String className)
Constructs a DeploymentException with the specified detail message and className parameter. PackageId is set to null.

Parameters:
msg - the detail message.
className - the name of the class to deploy.

DeploymentException

public DeploymentException(java.lang.String msg,
                           java.lang.String className,
                           PackageDefinitionUUID packageUUID)
Constructs a DeploymentException with the specified detail message and className, packageDefinitionUUID parameters.

Parameters:
msg - the detail message.
className - the name of the class to deploy.
packageUUID - the UUID of the package.

DeploymentException

public DeploymentException(java.lang.String msg,
                           java.lang.String className,
                           java.util.Set<PackageDefinitionUUID> packageUUIDs)

DeploymentException

public DeploymentException(DeploymentException e)
Method Detail

build

public static DeploymentException build(java.lang.Throwable e)

getClassName

public java.lang.String getClassName()

getPackageDefinitionUUID

public PackageDefinitionUUID getPackageDefinitionUUID()

getPackageUUIDs

public java.util.Set<PackageDefinitionUUID> getPackageUUIDs()