fuego.papi.exception
Class CannotGetWorkingAttachmentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
fuego.papi.exception.CannotGetWorkingAttachmentsException
- All Implemented Interfaces:
- Serializable
public class CannotGetWorkingAttachmentsException
- extends AttachmentOperationException
A CannotGetWorkingAttachmentsException
is thrown when something wrong happen when
getting working attachments.
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 who is working with the attachments. |
String |
getProcessId()
Return the process identification where you wanted to get the working attachments |
Methods inherited from class fuego.lang.DefaultException |
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail |
CannotGetWorkingAttachmentsException
public CannotGetWorkingAttachmentsException(String processId,
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:
processId
- Process identification where you want to get the working attachments.participantId
- Participant identification who is working with the attachments.cause
- Initial exception.
getParticipantId
public String getParticipantId()
- Return the participant identification who is working with the attachments.
- Returns:
- Participant identification
getProcessId
public String getProcessId()
- Return the process identification where you wanted to get the working attachments
- Returns:
- Process identification
© Copyright 1996/2005 Fuego Inc. All Rights Reserved