Class 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 states AVAILABLE, ASSIGNED and SUSPENDED.
    Author:
    Ulrich Kreher
    See Also:
    WorklistConstants.WorklistItemState, Serialized Form
    • 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 new InvalidWorklistItemStateException 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.