Fuego Process API

fuego.papi.exception
Class TaskCompletedException


java.lang.Object

  extended byjava.lang.Throwable

      extended byjava.lang.Exception

          extended byfuego.lang.DefaultException

              extended byfuego.papi.OperationException

                  extended byfuego.papi.ProcessOperationException

                      extended byfuego.papi.exception.InstanceOperationException

                          extended byfuego.papi.exception.TaskOperationException

                              extended byfuego.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, hasTechnicalDetail
 
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()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved