ALBPM Process API

fuego.papi.exception
Class InstanceAlreadySelectedException

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

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved