ALBPM Process API

fuego.papi.exception
Class ActivityFailedException

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

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved