fuego.papi.exception
Class AttachmentLockedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
fuego.papi.exception.AttachmentLockedException
- All Implemented Interfaces:
- Serializable
public class AttachmentLockedException
- extends AttachmentOperationException
This exception is thrown when you want to get an attachment but
the attachment is locked by another user.
- See Also:
- Serialized Form
Constructor Summary |
AttachmentLockedException(String attachmentId)
This contructor is used when you know the attachement identification
but the locker is unknown. |
AttachmentLockedException(String attachmentId,
String participantId)
This contructor is used when you know the attachement identification
and the participant that is locking the attachment. |
Methods inherited from class fuego.lang.DefaultException |
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail |
AttachmentLockedException
public AttachmentLockedException(String attachmentId)
- This contructor is used when you know the attachement identification
but the locker is unknown.
- Parameters:
attachmentId
- Attachment identification that is locked
AttachmentLockedException
public AttachmentLockedException(String attachmentId,
String participantId)
- This contructor is used when you know the attachement identification
and the participant that is locking the attachment.
- Parameters:
attachmentId
- Attachment identification that is lockedparticipantId
- Participant identification that is locking the attachment.
getParticipantId
public String getParticipantId()
- Return the participant identification that is locking the attachment
- Returns:
- Participant identification
© Copyright 1996/2005 Fuego Inc. All Rights Reserved