ALBPM Process API

fuego.papi.exception
Class AttachmentLockedException

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.AttachmentOperationException
                      extended by 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.
 
Method Summary
 String getParticipantId()
          Return the participant identification that is locking the attachment
 
Methods inherited from class fuego.papi.AttachmentOperationException
getAttachementId, getDetail, getTechnicalDetail
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, 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

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 locked
participantId - Participant identification that is locking the attachment.
Method Detail

getParticipantId

public String getParticipantId()
Return the participant identification that is locking the attachment

Returns:
Participant identification

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved