Fuego Process API

fuego.papi.exception
Class ActivityFailedException

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.ActivityFailedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivityTimeoutException, ActivityUserDisconnectedException, ActivityUserTimeoutException

public class ActivityFailedException
extends ProcessOperationException

A ActivityFailedException is thrown when the activity to create an instance failed. Either when running a Global Creation activity or when creating an instance with a PAPI program. The error code is 'PAPI-3300'.

See Also:
Serialized Form

Method Summary
static ActivityFailedException create(String cilName, String activityId, Throwable cause)
          This method generates a ActivityFailException from the cause of the problem
 String getActivityId()
          Return the activity identification where this exception was generated.
 
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 ActivityFailedException create(String cilName,
                                             String activityId,
                                             Throwable cause)
This method generates a ActivityFailException from the cause of the problem

Parameters:
cilName - Failed CIL
activityId - Task activity identificator
cause - Cause exception

getActivityId

public String getActivityId()
Return the activity identification where this exception was generated.

Returns:

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved