ALBPM Process API

fuego.papi.exception
Class TaskNotFoundException

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.TaskNotFoundException
All Implemented Interfaces:
Serializable

public class TaskNotFoundException
extends InstanceOperationException

A TaskNotFoundException is thrown as a result of an attempt to access an inexistent task.

See Also:
Serialized Form

Constructor Summary
TaskNotFoundException(String instanceId, int taskNumber, String activityId)
          Creates a new TaskNotFoundException with the default message.
TaskNotFoundException(String instanceId, String taskId, String activityId)
          Creates a new TaskNotFoundException with the default message.
 
Method Summary
 String getActivityId()
           
 int 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

TaskNotFoundException

public TaskNotFoundException(String instanceId,
                             int taskNumber,
                             String activityId)
Creates a new TaskNotFoundException with the default message.

Parameters:
instanceId - instance identification.
taskNumber - Task number.
activityId - Activity identification.

TaskNotFoundException

public TaskNotFoundException(String instanceId,
                             String taskId,
                             String activityId)
Creates a new TaskNotFoundException with the default message.

Parameters:
instanceId - instance identification.
taskId - Task name.
activityId - Activity identification.
Method Detail

getActivityId

public String getActivityId()

getTaskNumber

public int getTaskNumber()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved