Fuego Process API

fuego.papi.exception
Class InstanceOperationException


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.InstanceOperationException

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

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()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved