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

Thrown by the ManagementAPI if a failure during the deployment operation occured.

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, org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID)
          Constructs a DeploymentException with the specified detail message and className, packageDefinitionUUID 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()
           
 org.ow2.bonita.facade.uuid.PackageDefinitionUUID getPackageDefinitionUUID()
           
 
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,
                           org.ow2.bonita.facade.uuid.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.
Method Detail

getClassName

public java.lang.String getClassName()

getPackageDefinitionUUID

public org.ow2.bonita.facade.uuid.PackageDefinitionUUID getPackageDefinitionUUID()


Copyright © 2009 OW2 Consortium. All Rights Reserved.