ALBPM Process API (PAPI)

fuego.papi.exception
Class EditAttachmentException

java.lang.Object
  extended byDefaultException
      extended byfuego.papi.OperationException
          extended byfuego.papi.AttachmentOperationException
              extended byfuego.papi.exception.EditAttachmentException

public class EditAttachmentException
extends AttachmentOperationException

A EditAttachmentException is thrown when something wrong happen when editing an attachment. WARNING!: this exception over-write the getDetail* and use allways the details given by the cause. Don't add any constructor to this class without taking that in account.

See Also:
Serialized Form

Constructor Summary
EditAttachmentException(String attachmentId, String participantId, Throwable cause)
          To throw when the checkIn of an attachment fail.
 
Method Summary
 String getParticipantId()
          Returns the participant identification that wanted to edit the attachment.
 
Methods inherited from class fuego.papi.AttachmentOperationException
getAttachementId, getDetail, getTechnicalDetail
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditAttachmentException

public EditAttachmentException(String attachmentId,
                               String participantId,
                               Throwable cause)
To throw when the checkIn of an attachment fail. This constructor receives the cause and return as details the details of the given cause.

Parameters:
attachmentId - Attachment identification that you want to get to be edited.
participantId - Participant identification that want to edit the attachment.
cause - Initial exception.
Method Detail

getParticipantId

public String getParticipantId()
Returns the participant identification that wanted to edit the attachment.

Returns:
Participant identification.

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved