Package org.mycore.restapi.v2
Class MCRErrorResponse
java.lang.Object
org.mycore.restapi.v2.MCRErrorResponse
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRErrorResponse
fromStatus
(int status) getCause()
int
getUuid()
void
void
void
setErrorCode
(String errorCode) void
setMessage
(String message) void
setStatus
(int status) void
setTimestamp
(Date timestamp) void
jakarta.ws.rs.WebApplicationException
toString()
withDetail
(String detail) withErrorCode
(String errorCode) withMessage
(String message)
-
Method Details
-
fromStatus
-
toException
public jakarta.ws.rs.WebApplicationException toException() -
getUuid
-
setUuid
-
getErrorCode
-
setErrorCode
-
getCause
-
setCause
-
getMessage
-
setMessage
-
getDetail
-
setDetail
-
getTimestamp
-
setTimestamp
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
withCause
-
withMessage
-
withDetail
-
withErrorCode
-
toString
-