Fuego Process API

fuego.papi.exception
Class InstanceAutomaticallySentException

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.InstanceSentException
                              extended byfuego.papi.exception.InstanceAutomaticallySentException
All Implemented Interfaces:
Serializable

Deprecated. this exception is not longer thrown, right way to know if the instance was automatically send by release or by autocomplete is to check in fuego.papi.ProcessServicesSession.runActivity(..), the result to know if the instance was routed.

public class InstanceAutomaticallySentException
extends InstanceSentException

This exception is thrown when the instance has been automatically sent to next activity while running a task. This may be possible if instance current activity was set as autocomplete or if running task set action = Action.RELEASE .

See Also:
ProcessServiceSession.runTask(java.lang.String, java.lang.String, int, fuego.papi.Arguments), Serialized Form

Constructor Summary
InstanceAutomaticallySentException(InstanceInfo instanceInfo, fuego.lang.DynamicObject outputArguments)
          Deprecated. Throw when the instance was sent through the transition because the Activity is "autocomplete" or the CIL have an Action=Release.
InstanceAutomaticallySentException(String instanceId)
          Deprecated. use InstanceAutomaticallySentException(InstanceInfo,Arguments) instead
 
Methods inherited from class fuego.papi.exception.InstanceSentException
getInstanceInfo, getOutputArguments
 
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

InstanceAutomaticallySentException

public InstanceAutomaticallySentException(String instanceId)
Deprecated. use InstanceAutomaticallySentException(InstanceInfo,Arguments) instead

Parameters:
instanceId -

InstanceAutomaticallySentException

public InstanceAutomaticallySentException(InstanceInfo instanceInfo,
                                          fuego.lang.DynamicObject outputArguments)
Deprecated. 
Throw when the instance was sent through the transition because the Activity is "autocomplete" or the CIL have an Action=Release.

Parameters:
instanceInfo - info of the instance sent
outputArguments - arguments filled by the CIL, if any.

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved