Fuego Process API

fuego.papi.exception
Class InstanceConcurrentExecutionException


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

All Implemented Interfaces:
Serializable

public class InstanceConcurrentExecutionException
extends InstanceOperationException

An InstanceConcurrentExecutionException is thrown as result of reach the limit of executing instances.

See Also:
Serialized Form

Constructor Summary
InstanceConcurrentExecutionException()
          Just to serialization
InstanceConcurrentExecutionException(String processId, int limit)
           
InstanceConcurrentExecutionException(String processId, String activityId)
          Creates a new InstanceConcurrentExecutionException with the given process identification and activity name.
InstanceConcurrentExecutionException(String instanceId, String processId, String activityId)
          Creates a new InstanceConcurrentExecutionException with the given instance identification, process identification and activity id.
 
Method Summary
 String getActivity()
           
 
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

InstanceConcurrentExecutionException


public InstanceConcurrentExecutionException()
Just to serialization


InstanceConcurrentExecutionException


public InstanceConcurrentExecutionException(String processId,
                                            String activityId)
Creates a new InstanceConcurrentExecutionException with the given process identification and activity name.

Parameters:
processId - Process identification that has reached the limit of the executing instances.
activityId - Activity identification that has reached the limit of the executing instances.

InstanceConcurrentExecutionException


public InstanceConcurrentExecutionException(String instanceId,
                                            String processId,
                                            String activityId)
Creates a new InstanceConcurrentExecutionException with the given instance identification, process identification and activity id.

Parameters:
instanceId - Instance identification
processId - Process identification that has reached the limit of the executing instances.
activityId - Activity identification that has reached the limit of the executing instances.

InstanceConcurrentExecutionException


public InstanceConcurrentExecutionException(String processId,
                                            int limit)
Method Detail

getActivity


public String getActivity()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved