Fuego Process API

fuego.papi.exception
Class TaskFailedException


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.TaskFailedException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TaskTimeoutException, TaskUserDisconnectedException, TaskUserTimeoutException

public class TaskFailedException
extends TaskOperationException

A TaskFailedException is thrown whenever a task execution over an instance fails. The code of the message is 'PAPI-3450'.

See Also:
Serialized Form

Method Summary
static TaskFailedException create(String instanceId, int taskNumber, String cilName, String activityId, Throwable cause)
           
 
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
 

Method Detail

create


public static TaskFailedException create(String instanceId,
                                         int taskNumber,
                                         String cilName,
                                         String activityId,
                                         Throwable cause)
Parameters:
instanceId - Instance identification
taskNumber - Failed task number
cilName - Failed CIL name
activityId - Task activity identification
cause - Cause exception

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved