Package org.mycore.restapi.v1.errors
Class MCRRestAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mycore.restapi.v1.errors.MCRRestAPIException
- All Implemented Interfaces:
Serializable
exception that can be thrown during rest api requests
- Version:
- $Revision: $ $Date: $
- Author:
- Robert Stephan
- See Also:
-
Constructor Summary
ConstructorDescriptionMCRRestAPIException
(jakarta.ws.rs.core.Response.Status status, List<MCRRestAPIError> errors) MCRRestAPIException
(jakarta.ws.rs.core.Response.Status status, MCRRestAPIError error) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response.Status
void
setStatus
(jakarta.ws.rs.core.Response.Status status) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MCRRestAPIException
-
MCRRestAPIException
-
-
Method Details
-
getErrors
-
getStatus
public jakarta.ws.rs.core.Response.Status getStatus() -
setStatus
public void setStatus(jakarta.ws.rs.core.Response.Status status)
-