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

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, ProcessDefinitionUUID processUUID)
          Constructs a DeploymentException with the specified detail message and className, processDefinitionUUID 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()
           
 ProcessDefinitionUUID getProcessDefinitionUUID()
           
 
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 processDefinitionUUID 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 processDefinitionUUID 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. processId 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,
                           ProcessDefinitionUUID processUUID)
Constructs a DeploymentException with the specified detail message and className, processDefinitionUUID parameters.

Parameters:
msg - the detail message.
className - the name of the class to deploy.
processUUID - the UUID of the process.
Method Detail

getClassName

public java.lang.String getClassName()

getProcessDefinitionUUID

public ProcessDefinitionUUID getProcessDefinitionUUID()


Copyright © 2009 OW2 Consortium. All Rights Reserved.