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 org.ow2.bonita.util.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(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, java.lang.String packageId)
          Constructs a DeploymentException with the specified detail message and className, packageId parameters.
DeploymentException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a DeploymentException with the specified detail message and the throwable cause.
 
Method Summary
 java.lang.String getclassName()
           
 java.lang.String getpackageId()
           
 
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 packageId 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 packageId 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,
                           java.lang.String packageId)
Constructs a DeploymentException with the specified detail message and className, packageId parameters.

Parameters:
msg - the detail message.
className - the name of the class to deploy.
packageId - the id of the package.
Method Detail

getclassName

public java.lang.String getclassName()

getpackageId

public java.lang.String getpackageId()