Package org.dspace.app.rest.exception
Class DSpaceBadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dspace.app.rest.exception.DSpaceBadRequestException
- All Implemented Interfaces:
Serializable
@ResponseStatus(value=BAD_REQUEST,
reason="Bad Request")
public class DSpaceBadRequestException
extends RuntimeException
When a request is malformed, we use this exception to indicate this to the client
- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDSpaceBadRequestException(String message) DSpaceBadRequestException(String message, Exception e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DSpaceBadRequestException
-
DSpaceBadRequestException
-