Fuego Process API

fuego.papi.exception
Class NotUniqueTransitionException


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

                          extended byfuego.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 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 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
 

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

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved