ALBPM Process API

fuego.papi.exception
Class ProcessControlNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fuego.lang.DefaultException
              extended by fuego.papi.OperationException
                  extended by fuego.papi.ProcessOperationException
                      extended by fuego.papi.exception.ProcessControlNotAvailableException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProcessControlLockedException, ProcessControlNotFoundException

public class ProcessControlNotAvailableException
extends ProcessOperationException

A ProcessControlNotAvailableException is thrown as a result of an attempt to access to the process control and it is not available. The reasons could be that the engine starting up, the process is not available, incompatible PAPI and Engine version, the server is switching from a runlevel to other runlevel, the server is unable to process your request at this moment or the participant has not assigned roles in process.

See Also:
Serialized Form

Constructor Summary
ProcessControlNotAvailableException(String processId)
          Code of the message is 'PAPI-2100'.
ProcessControlNotAvailableException(String processId, int engineRunLevel)
          Code of the message is 'PAPI-2102'.
ProcessControlNotAvailableException(String processId, int actualRunLevel, int changeRunLevel)
          Code of the message is 'PAPI-2101'.
ProcessControlNotAvailableException(String processId, Throwable cause)
          Code of the message is 'PAPI-2100'.
 
Method Summary
 int getChangeEngineStatus()
           
 int getCurrentEngineStatus()
           
 
Methods inherited from class fuego.papi.ProcessOperationException
getProcessId
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessControlNotAvailableException

public ProcessControlNotAvailableException(String processId)
Code of the message is 'PAPI-2100'.

Parameters:
processId - Process identification the which can not obtain the control.

ProcessControlNotAvailableException

public ProcessControlNotAvailableException(String processId,
                                           Throwable cause)
Code of the message is 'PAPI-2100'.

Parameters:
processId - Process identification the which can not obtain the control.
cause - Cause of this problem

ProcessControlNotAvailableException

public ProcessControlNotAvailableException(String processId,
                                           int engineRunLevel)
Code of the message is 'PAPI-2102'.

Parameters:
processId - Process identidication the which cannot obtain the control.
engineRunLevel - Run level of the engine.

ProcessControlNotAvailableException

public ProcessControlNotAvailableException(String processId,
                                           int actualRunLevel,
                                           int changeRunLevel)
Code of the message is 'PAPI-2101'.

Parameters:
processId - Process identidication the which can not obtain the control.
actualRunLevel - Actual run level of the engine.
changeRunLevel - Change run level of the engine.
Method Detail

getChangeEngineStatus

public int getChangeEngineStatus()

getCurrentEngineStatus

public int getCurrentEngineStatus()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved