ALBPM Process API

fuego.papi.exception
Class InstanceNotGrabbedException

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
                          extended by fuego.papi.exception.InstanceNotGrabbedException
All Implemented Interfaces:
Serializable

public class InstanceNotGrabbedException
extends InstanceOperationException

An InstanceNotGrabbedException is thrown as a result of an attempt to grab an instance that cannot be grabbed.

See Also:
Serialized Form

Constructor Summary
InstanceNotGrabbedException(String instanceId)
          Creates a new InstanceNotGrabbedException with the given instance identification.
InstanceNotGrabbedException(String instanceId, String participantId)
          Creates a new InstanceNotGrabbedException with the given instance identification was grabbed and participant identification that grabbed the instance.
 
Method Summary
 String getParticipantId()
          Return the participant that grabbed the instance.
 
Methods inherited from class fuego.papi.exception.InstanceOperationException
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

InstanceNotGrabbedException

public InstanceNotGrabbedException(String instanceId)
Creates a new InstanceNotGrabbedException with the given instance identification.

Parameters:
instanceId - Instance identification.

InstanceNotGrabbedException

public InstanceNotGrabbedException(String instanceId,
                                   String participantId)
Creates a new InstanceNotGrabbedException with the given instance identification was grabbed and participant identification that grabbed the instance.

Parameters:
instanceId - Instance identification.
participantId - Participant identification.
Method Detail

getParticipantId

public String getParticipantId()
Return the participant that grabbed the instance.

Returns:
Participant Identification

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved