|
BPM Process API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.ProcessOperationException
fuego.papi.exception.InstanceOperationException
fuego.papi.exception.InstanceNotInActivityException
public class InstanceNotInActivityException
A InstanceNotInActivityException is thrown as a result of an
attempt to access an instance in some activity and it doesn't find in this activity.
| Constructor Summary | |
|---|---|
InstanceNotInActivityException()
Just to serialization |
|
InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity)
Creates a new InstanceNotInActivityException with the given globalInstanceId, last activity and actual activity. |
|
InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity,
int state)
Creates a new InstanceNotInActivityException with the given last activity, globalInstanceId and actual activity. |
|
InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity,
int state,
InstanceInfo currentInstance)
Creates a new InstanceNotInActivityException with the given globalInstanceId, last activity and actual activity. |
|
| Method Summary | |
|---|---|
String |
getCurrentActivity()
Where the instance is now. |
InstanceInfo |
getCurrentInstance()
|
int |
getInstanceState()
Return the state of the instance |
String |
getLastActivity()
The last activity of the instance |
void |
setCurrentInstance(InstanceInfo instance)
|
boolean |
shouldBeRetried()
FOR INTERNAL USE ONLY. |
| 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 |
|---|
public InstanceNotInActivityException()
public InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity)
globalInstanceId - Instance id with organizationIncludedlastActivity - Where the instance was supposed to be.currentActivity - Where the instance is now.
public InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity,
int state)
globalInstanceId - Instance id with organizationIncludedlastActivity - Where the instance was supposed to be.currentActivity - Where the instance is now.state - Instance state.
public InstanceNotInActivityException(String globalInstanceId,
String lastActivity,
String currentActivity,
int state,
InstanceInfo currentInstance)
globalInstanceId - Instance id with organizationIncludedlastActivity - Where the instance was supposed to be.currentActivity - Where the instance is now.currentInstance - Actual instance| Method Detail |
|---|
public String getCurrentActivity()
public InstanceInfo getCurrentInstance()
public int getInstanceState()
public String getLastActivity()
public boolean shouldBeRetried()
shouldBeRetried in class ProcessOperationExceptiontrue if after the exception the engine will retry the execution.public void setCurrentInstance(InstanceInfo instance)
|
BPM Process API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||