Fuego Process API

fuego.papi.exception
Class NoValidTransitionAvailableException


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

All Implemented Interfaces:
Serializable

public class NoValidTransitionAvailableException
extends InstanceOperationException

A NoValidTransitionAvailableException is thrown as a result of an attempt to send an instance but there are no valid transitions available.

See Also:
Serialized Form

Constructor Summary
NoValidTransitionAvailableException(String instanceId, String processId, String sourceActivity, String targetActivity)
          Creates a new NoValidTransitionAvailableException with the given sourceActivity and targetActivity.
 
Method Summary
 String getSourceActivityId()
           
 
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

NoValidTransitionAvailableException


public NoValidTransitionAvailableException(String instanceId,
                                           String processId,
                                           String sourceActivity,
                                           String targetActivity)
Creates a new NoValidTransitionAvailableException with the given sourceActivity and targetActivity.

Parameters:
instanceId - Instance identification.
processId - Process identification.
sourceActivity - Source activity is the activity from where begins the transition.
targetActivity - Target activity es the activity to where arrives the transition.
Method Detail

getSourceActivityId


public String getSourceActivityId()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved