Package ca.uhn.fhir.rest.server.exceptions
package ca.uhn.fhir.rest.server.exceptions
-
ClassDescriptionRepresents an HTTP 401 Client Unauthorized response, which means that the client needs to provide credentials, or has provided invalid credentials.Base class for RESTful client and server exceptions.This Represents an HTTP 403 Forbidden response, which generally indicates one of two conditions: Authentication was provided, but the authenticated user is not permitted to perform the requested operation. The operation is forbidden to all users.Represents an HTTP 500 Internal Error response.Represents an HTTP 400 Bad Request response.Represents an HTTP 405 Method Not Allowed response.This Represents an HTTP 501 Not Implemented response, which means the resource provider currently lacks the ability to fullfill the request.This Represents an HTTP 301 Not Modified response, which means the resource has not changed since the last version the client retrieved.This Represents an HTTP 413 Payload Too Large response, which means the request body was too big for the server to acceptRepresents an HTTP 412 Precondition Failed response.Represents an HTTP 410 Resource Gone response, which geenerally indicates that the resource has been deletedRepresents an HTTP 404 Resource Not Found response, which means that the request is pointing to a resource that does not exist.Represents an HTTP 409 Conflict response.Deprecated.Exception for use when a response is received or being sent that does not correspond to any other exception type.Represents an HTTP 422 Unprocessable Entity response, which means that a resource was rejected by the server because it "violated applicable FHIR profiles or server business rules".
PreconditionFailedException
instead - This exception is strangely named and will be removed at some point.