ALBPM Process API

fuego.papi.exception
Class TaskCompletedException

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.ProcessOperationException
                      extended by fuego.papi.exception.InstanceOperationException
                          extended by fuego.papi.exception.TaskOperationException
                              extended by fuego.papi.exception.TaskCompletedException
All Implemented Interfaces:
Serializable

public class TaskCompletedException
extends TaskOperationException

A TaskCompletedException is thrown when the task has already been completed by other participant.

See Also:
Serialized Form

Constructor Summary
TaskCompletedException(String instanceId, String activityId, int taskNumber)
          Creates a new TaskCompletedException with the given processId, intanceIn, theadIn and taskNumber.
TaskCompletedException(String instanceId, String activityId, int taskNumber, String participantId)
          Creates a new TaskCompletedException with the given processId, intanceIn, theadIn and taskNumber.
 
Method Summary
 String getParticipantId()
           
 
Methods inherited from class fuego.papi.exception.TaskOperationException
getActivityId, getTaskNumber
 
Methods inherited from class fuego.papi.exception.InstanceOperationException
getInstanceId
 
Methods inherited from class fuego.papi.ProcessOperationException
getProcessId
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, 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

TaskCompletedException

public TaskCompletedException(String instanceId,
                              String activityId,
                              int taskNumber)
Creates a new TaskCompletedException with the given processId, intanceIn, theadIn and taskNumber.

Parameters:
instanceId - Instance Id
activityId - Activity Id
taskNumber - Task number.

TaskCompletedException

public TaskCompletedException(String instanceId,
                              String activityId,
                              int taskNumber,
                              String participantId)
Creates a new TaskCompletedException with the given processId, intanceIn, theadIn and taskNumber.

Parameters:
instanceId - Instance identification.
activityId - Activity identification.
taskNumber - Task number.
participantId - User executed task.
Method Detail

getParticipantId

public String getParticipantId()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved