ALBPM Process API

fuego.papi.exception
Class NoValidTransitionAvailableException

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.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
 
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()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved