Package org.dspace.app.rest.exception
package org.dspace.app.rest.exception
-
ClassDescriptionThis Handler customizes behavior of AccessDeniedException errors thrown by Spring Security/Boot.This Controller advice will handle default exceptions thrown by the DSpace REST API module.When a request is malformed, we use this exception to indicate this to the clientWhen a request is malformed, we use this exception to indicate this to the clientExtend
UnprocessableEntityExceptionto provide a specific error message in the REST response.ExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.ExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.Thrown to indicate that a mandatory Item Request attribute was not provided.This exception is thrown when the given LDN Message json is invalidThis exception is thrown when the given search configuration passed toRestDiscoverQueryBuilderis invalidThis is the exception to capture details about a not existing linked resourceMethod Not Allowed: The 405 status code indicates that the method received in the request-line is known by the origin server but not supported by the target resource.This class provides an exception to be used when the SearchFilter given is invalidThis is an exception to manage information about pagination errors.This 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.This is the exception to capture details about call to a methods not exposed or not implemented by the repositoryThis is the exception to capture details about call to inexistent resourcesThis is the exception to capture details about call to a search methods not exposed by the repositoryThis is the exception to capture details about call to search endpoint over not search enabled repositoriesREST Authorization exception wrapper of the DSpace API AuthorizeException to make it uncheckedExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.ExtendUnprocessableEntityExceptionto provide a specific error message in the REST response.Implement TranslatableException to make Exceptions or RuntimeExceptions translatable.Unprocessable request: Can be specified with a 422 (Unprocessable Entity) response ([RFC4918], Section 11.2) when the server understands the patch document and the syntax of the patch document appears to be valid, but the server is incapable of processing the request.This exception is thrown when the provided current password is wrong.