Class GroupHasPendingWorkflowTasksException

All Implemented Interfaces:
Serializable, TranslatableException

public class GroupHasPendingWorkflowTasksException extends UnprocessableEntityException implements TranslatableException

Extend UnprocessableEntityException to provide a specific error message in the REST response. The error message is added to the response in DSpaceApiExceptionControllerAdvice.handleCustomUnprocessableEntityException(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, org.dspace.app.rest.exception.TranslatableException), hence it should not contain sensitive or security-compromising info.

See Also:
  • Field Details

  • Constructor Details

    • GroupHasPendingWorkflowTasksException

      public GroupHasPendingWorkflowTasksException()
    • GroupHasPendingWorkflowTasksException

      public GroupHasPendingWorkflowTasksException(Throwable cause)
  • Method Details