ALBPM Process API (PAPI)

fuego.papi.exception
Class NotUniqueTransitionException

java.lang.Object
  extended byDefaultException
      extended byfuego.papi.OperationException
          extended byfuego.papi.ProcessOperationException
              extended byfuego.papi.exception.InstanceOperationException
                  extended byfuego.papi.exception.NotUniqueTransitionException

public class NotUniqueTransitionException
extends InstanceOperationException

A NotUniqueTransitionException is thrown when trying to route an instance from one activity that have more than one valid outgoing transition. This exception returns the possible targets.

See Also:
Serialized Form

Constructor Summary
NotUniqueTransitionException(String instanceId, String sourceActivityId, List candidates)
          Creates a new NotUniqueTransitionException with the given candidates.
 
Method Summary
 List getTargetActivities()
          List of Activities where the instance could go.
 
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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotUniqueTransitionException

public NotUniqueTransitionException(String instanceId,
                                    String sourceActivityId,
                                    List candidates)
Creates a new NotUniqueTransitionException with the given candidates.

Parameters:
instanceId - Instance identification
candidates - Candidates are the possibles transitions to send the instance.
Method Detail

getTargetActivities

public List getTargetActivities()
List of Activities where the instance could go.

Returns:
list of activity names

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved