Fuego Process API

fuego.papi.exception
Class AttachmentLockedException


java.lang.Object

  extended byjava.lang.Throwable

      extended byjava.lang.Exception

          extended byfuego.lang.DefaultException

              extended byfuego.papi.OperationException

                  extended byfuego.papi.AttachmentOperationException

                      extended byfuego.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, 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, 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

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

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved