ALBPM Process API

fuego.papi.exception
Class InstanceConcurrentExecutionException

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

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved