fuego.papi.exception
Class TaskOperationException
java.lang.Object
DefaultException
fuego.papi.OperationException
fuego.papi.ProcessOperationException
fuego.papi.exception.InstanceOperationException
fuego.papi.exception.TaskOperationException
- Direct Known Subclasses:
- ExternalTaskException, NoTasksRunningException, NotExternalTaskException, SharedParentInstanceBusyException, TaskAlreadySelectedException, TaskCompletedException, TaskFailedException, TaskNotRunningException, TaskNotUnselectedException
- public class TaskOperationException
- extends InstanceOperationException
A TaskOperationException is thrown when task operation error occurs.
It could be the task has been aborted, it has invalid arguments or conversion of arguments,
task has already been executed, task has already been selected.
- See Also:
- Serialized Form
TaskOperationException
public TaskOperationException(String instanceId,
String activityId,
int taskNumber)
- Creates a new TaskOperationException with the given msgCode, instanceId and taskNumber.
- Parameters:
instanceId - Instance identification.activityId - Activity identification.taskNumber - Task number.
TaskOperationException
public TaskOperationException(String instanceId,
String activityId,
int taskNumber,
Throwable cause)
- Creates a new TaskOperationException with the given taskNumber and the given cause.
- Parameters:
instanceId - Instance identification.activityId - Activity identification.taskNumber - Task number.cause - The original cause for the task failure.
getActivityId
public String getActivityId()
getTaskNumber
public int getTaskNumber()
© Copyright 1996/2005 Fuego Inc. All Rights Reserved