ALBPM Process API

fuego.papi.exception
Class NotUniqueTransitionException

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.InstanceOperationException
                          extended by fuego.papi.exception.NotUniqueTransitionException
All Implemented Interfaces:
Serializable

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<String> candidates)
          Creates a new NotUniqueTransitionException with the given candidates.
 
Method Summary
 List<String> 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 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
 

Constructor Detail

NotUniqueTransitionException

public NotUniqueTransitionException(String instanceId,
                                    String sourceActivityId,
                                    List<String> 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<String> getTargetActivities()
List of Activities where the instance could go.

Returns:
list of activity names

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved