ALBPM Process API (PAPI)

fuego.papi.exception
Class ActivityFailedException

java.lang.Object
  extended byDefaultException
      extended byfuego.papi.OperationException
          extended byfuego.papi.ProcessOperationException
              extended byfuego.papi.exception.ActivityFailedException
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()
          Returns 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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()
Returns the activity identification where this exception was generated.

Returns:

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved