Fuego Process API

fuego.papi.exception
Class InstanceNotGrabbedException


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

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

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

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved