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 RuntimeExceptionWhen 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DSpaceBadRequestException(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
-
-