Package org.dspace.eperson
Class EmptyWorkflowGroupException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- org.dspace.eperson.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyWorkflowGroupException(UUID ePersonId, UUID groupId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetEPersonId()UUIDgetGroupId()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-