fuego.papi.exception
Class TaskOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.ProcessOperationException
fuego.papi.exception.InstanceOperationException
fuego.papi.exception.TaskOperationException
- All Implemented Interfaces:
- Serializable
- 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
Methods inherited from class fuego.lang.DefaultException |
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail |
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.
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.
getActivityId
public String getActivityId()
getTaskNumber
public int getTaskNumber()
© Copyright 1996/2005 Fuego Inc. All Rights Reserved