fuego.papi.exception
Class CannotCreateInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.ProcessOperationException
fuego.papi.exception.CannotCreateInstanceException
- All Implemented Interfaces:
- Serializable
public class CannotCreateInstanceException
- extends ProcessOperationException
Exception thrown if was not possible to create a new instance because the
the process instance count is equal to process instance limit or the
instance failed in the creation.
With IPC/B2B this exception can be thrown because the child instance was not
created.
- See Also:
- Serialized Form
Methods inherited from class fuego.lang.DefaultException |
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail |
CannotCreateInstanceException
public CannotCreateInstanceException()
CannotCreateInstanceException
public CannotCreateInstanceException(String processId)
- Creates a new CannotCreateInstanceException with the default message (PAPI-2100).
- Parameters:
processId
- process to be showed in the message
CannotCreateInstanceException
public CannotCreateInstanceException(String processId,
int maxInstancesCount)
- Creates a new CannotCreateInstanceException with the given process label and process identification.
- Parameters:
processId
- Process name.maxInstancesCount
-
CannotCreateInstanceException
public CannotCreateInstanceException(String sourceInstance,
String sourceActivity,
String targetProcessGlobalId,
Throwable cause)
- Creates a new CannotCreatInstanceException because of IPC/B2B problem.
- Parameters:
sourceInstance
- instance that want to create a child instancesourceActivity
- where the parent source instance is.targetProcessGlobalId
- processId formated like organizationalUnit+"/"+processName+"@"+organization,
note that the process version is not present here because the creation is allways over the active
version.cause
- the cause of this exception.
getMaxInstancesCount
public int getMaxInstancesCount()
© Copyright 1996/2005 Fuego Inc. All Rights Reserved