ALBPM Process API

fuego.papi.exception
Class InstanceNotFoundException

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.InstanceNotFoundException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InstanceNotFoundByCorrelationException

public class InstanceNotFoundException
extends ProcessOperationException

A InstanceNotFoundException is thrown as a result of an attempt to access an inexistent instance.

See Also:
Serialized Form

Constructor Summary
InstanceNotFoundException()
          Use message "PAPI-2040".
InstanceNotFoundException(int processIn, int instanceIn, int threadIn)
          Use message "PAPI-2042"
InstanceNotFoundException(String instanceId)
          Use message "PAPI-2041"
 
Method Summary
static InstanceNotFoundException createForProcess(String processId)
           
 String getInstanceId()
          Return the instance identification that was not found.
 
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

InstanceNotFoundException

public InstanceNotFoundException()
Use message "PAPI-2040".


InstanceNotFoundException

public InstanceNotFoundException(String instanceId)
Use message "PAPI-2041"

Parameters:
instanceId - Instance identification that was not found.

InstanceNotFoundException

public InstanceNotFoundException(int processIn,
                                 int instanceIn,
                                 int threadIn)
Use message "PAPI-2042"

Parameters:
processIn - Process internal number that was not found.
instanceIn - Instance internal number that was not found.
threadIn - Thread internal number that was not found.
Method Detail

createForProcess

public static InstanceNotFoundException createForProcess(String processId)

getInstanceId

public String getInstanceId()
Return the instance identification that was not found.

Returns:
Instance identification

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved