ALBPM Process API

fuego.papi.exception
Class InstanceOperationException

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.InstanceOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CannotLockInstanceException, IllegalInstanceStateException, InstanceAbortedException, InstanceAlreadySelectedException, InstanceAlreadySuspendedException, InstanceAlreadyTerminatedException, InstanceConcurrentExecutionException, InstanceNotAvailableException, InstanceNotCompletedException, InstanceNotGrabbedException, InstanceNotInActivityException, InstanceNotInGroupException, InstanceNotRunningException, InstanceNotSuspendedException, InstanceSelectDisableException, InstanceSentException, InstancesNotAvailableInEngineException, InstanceSuspendedException, InstanceTimeoutException, InvalidActivityException, InvalidNotificationTargetException, InvalidProcessDeadlineValueException, NoInstanceParameterValueException, NonReadOnlyTaskException, NoParametricRoleException, NotUniqueTransitionException, NoValidTransitionAvailableException, TaskNotFoundException, TaskOperationException

public class InstanceOperationException
extends ProcessOperationException

A InstanceOperationException is thrown as a result of an attempt to opetation on a instance and happend unexpected situation. It exception is parent of all exception that has operation with instances.

See Also:
Serialized Form

Constructor Summary
InstanceOperationException(int processIn, int instanceIn, int threadIn)
          Code of the message is "PAPI-3001"
InstanceOperationException(int processIn, int instanceIn, int threadIn, Throwable cause)
          Code of the message is "PAPI-3001"
InstanceOperationException(String instanceId)
          Code of the message is "PAPI-3000"
InstanceOperationException(String instanceId, Throwable initCause)
          Code of the message is "PAPI-3001"
 
Method Summary
 String getInstanceId()
           
 
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

InstanceOperationException

public InstanceOperationException(String instanceId)
Code of the message is "PAPI-3000"

Parameters:
instanceId - Instance identification in which occured the exception.

InstanceOperationException

public InstanceOperationException(String instanceId,
                                  Throwable initCause)
Code of the message is "PAPI-3001"

Parameters:
instanceId - Instance identification in which occured the exception.
initCause - Cause of this exception

InstanceOperationException

public InstanceOperationException(int processIn,
                                  int instanceIn,
                                  int threadIn)
Code of the message is "PAPI-3001"

Parameters:
processIn - Process internal number in which occured the exception.
instanceIn - Instance internal number in which occured the exception.
threadIn - Thread internal number in which occured the exception.

InstanceOperationException

public InstanceOperationException(int processIn,
                                  int instanceIn,
                                  int threadIn,
                                  Throwable cause)
Code of the message is "PAPI-3001"

Parameters:
processIn - Process internal number in which occured the exception.
instanceIn - Instance internal number in which occured the exception.
threadIn - Thread internal number in which occured the exception.
cause - Initial exception.
Method Detail

getInstanceId

public String getInstanceId()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved