Class EmptyWorkflowGroupException

All Implemented Interfaces:
Serializable

public class EmptyWorkflowGroupException extends IllegalStateException

This exception class is used to distinguish the following condition: EPerson cannot be deleted because that would lead to one (or more) workflow groups being empty.

The message of this exception can be disclosed in the REST response to provide more granular feedback to the user.

Author:
Bruno Roemers (bruno.roemers at atmire.com)
See Also:
  • Field Details

  • Constructor Details

    • EmptyWorkflowGroupException

      public EmptyWorkflowGroupException(UUID ePersonId, UUID groupId)
  • Method Details

    • getEPersonId

      public UUID getEPersonId()
    • getGroupId

      public UUID getGroupId()