Uses of Interface
org.dspace.app.rest.exception.TranslatableException
-
Packages that use TranslatableException Package Description org.dspace.app.rest.exception -
-
Uses of TranslatableException in org.dspace.app.rest.exception
Classes in org.dspace.app.rest.exception that implement TranslatableException Modifier and Type Class Description classEPersonNameNotProvidedExceptionExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.classGroupHasPendingWorkflowTasksExceptionExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.classGroupNameNotProvidedExceptionExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.classPasswordNotValidExceptionThis class provides an exception to be used when trying to create an EPerson with password that not match regular expression configured in this variable "authentication-password.regex-validation.pattern" in dspace.cfg or during the patch of password.classRESTEmptyWorkflowGroupExceptionExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.Methods in org.dspace.app.rest.exception with parameters of type TranslatableException Modifier and Type Method Description protected voidDSpaceApiExceptionControllerAdvice. handleCustomUnprocessableEntityException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, TranslatableException ex)Add user-friendly error messages to the response body for selected errors.
-