Class InvalidWorklistItemStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.worklistmodel.InvalidWorklistItemStateException
-
- All Implemented Interfaces:
Serializable
public class InvalidWorklistItemStateException extends Exception
This exception will be raised if a worklist item is not in the right state to perform a desired state transition, for instance, a worklist item may only be delegated in the statesAVAILABLE
,ASSIGNED
andSUSPENDED
.- Author:
- Ulrich Kreher
- See Also:
WorklistConstants.WorklistItemState
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
worklistItemState
The state in which the worklist item currently is and which prevents a desired action.
-
Constructor Summary
Constructors Constructor Description InvalidWorklistItemStateException(String worklistItemState)
Constructs a newInvalidWorklistItemStateException
which encapsulates a string representing the current state of the worklist item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWorklistItemState()
Returns the state the worklist item is in and that prevents the desired action.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
worklistItemState
protected String worklistItemState
The state in which the worklist item currently is and which prevents a desired action.
-
-
Constructor Detail
-
InvalidWorklistItemStateException
public InvalidWorklistItemStateException(String worklistItemState)
Constructs a newInvalidWorklistItemStateException
which encapsulates a string representing the current state of the worklist item.- Parameters:
worklistItemState
- A string representing the current state of the worklist item which prevents a desired action.
-
-
Method Detail
-
getWorklistItemState
public String getWorklistItemState()
Returns the state the worklist item is in and that prevents the desired action.- Returns:
- The state of the worklist item that caused this exception.
-
-