Fuego Process API

fuego.papi.exception
Class ProcessControlNotAvailableException


java.lang.Object

  extended byjava.lang.Throwable

      extended byjava.lang.Exception

          extended byfuego.lang.DefaultException

              extended byfuego.papi.OperationException

                  extended byfuego.papi.ProcessOperationException

                      extended byfuego.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, hasTechnicalDetail
 
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()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved