Fuego Process API

fuego.papi.exception
Class InstanceAlreadySelectedException

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

public class InstanceAlreadySelectedException
extends InstanceOperationException

A InstanceAlreadySelectedException is thrown when the instance has already been selected by other participant.

See Also:
Serialized Form

Constructor Summary
InstanceAlreadySelectedException(String instanceId, String participantId)
          Creates a new InstanceAlreadySelectedException with the given process identification, instance internal number, thread internal number and particiant identification.
 
Method Summary
 String getParticipantId()
          Return the participant that has already selected 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

InstanceAlreadySelectedException

public InstanceAlreadySelectedException(String instanceId,
                                        String participantId)
Creates a new InstanceAlreadySelectedException with the given process identification, instance internal number, thread internal number and particiant identification.

Parameters:
instanceId - Instance id that has been selected.
participantId - Participant identification that has already selected the instance.
Method Detail

getParticipantId

public String getParticipantId()
Return the participant that has already selected the instance

Returns:
Participant Identification

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved