fuego.papi.exception
Class CannotLockInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.ProcessOperationException
fuego.papi.exception.InstanceOperationException
fuego.papi.exception.CannotLockInstanceException
- All Implemented Interfaces:
- Serializable
public class CannotLockInstanceException
- extends InstanceOperationException
A CannotLockInstanceException
is thrown as a result of an
attempt to lock an instance.
- See Also:
- Serialized Form
Methods inherited from class fuego.lang.DefaultException |
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail |
CannotLockInstanceException
public CannotLockInstanceException(String instanceId)
- Creates a new CannotLockInstanceException with the given instanceId.
- Parameters:
instanceId
- Instance identification.
CannotLockInstanceException
public CannotLockInstanceException(String instanceId,
String instanceOwner,
boolean isSameParticipant)
- Creates a new CannotLockInstanceException with the given instance and instanceOuner.
- Parameters:
instanceId
- Instance name.instanceOwner
- Instance owner.
getInstanceOwner
public String getInstanceOwner()
- Return the instance owner
- Returns:
- Participant Identification
isSameParticipant
public boolean isSameParticipant()
- Return true if the instance is locked by the same participant
- Returns:
- isSameParticipant
© Copyright 1996/2005 Fuego Inc. All Rights Reserved