ALBPM Process API

fuego.papi.exception
Class CannotGetWorkingAttachmentsException

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.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

Constructor Summary
CannotGetWorkingAttachmentsException(String processId, String participantId, Throwable cause)
          To throw when the checkIn of an attachment fail.
 
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.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

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.
Method Detail

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

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved