fuego.papi.exception
Class ReleaseAttachmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
fuego.papi.exception.ReleaseAttachmentException
- All Implemented Interfaces:
- Serializable
public class ReleaseAttachmentException
- extends AttachmentOperationException
A ReleaseAttachmentException
is thrown when something wrong happen when trying to release
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
Method Summary |
String |
getParticipantId()
Return the participant identification that wanted to release the attachment. |
Methods inherited from class fuego.lang.DefaultException |
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail |
ReleaseAttachmentException
public ReleaseAttachmentException(String attachmentId,
String participantId,
Throwable cause)
- To throw when the release 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 release.participantId
- Participant identification that want to release the attachment.cause
- Initial exception.
getParticipantId
public String getParticipantId()
- Return the participant identification that wanted to release the attachment.
- Returns:
- Participant identification.
© Copyright 1996/2005 Fuego Inc. All Rights Reserved