
Uses of Class
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
Packages that use BaseServerResponseException
Package
Description
-
Uses of BaseServerResponseException in ca.uhn.fhir.fhirpath
Subclasses of BaseServerResponseException in ca.uhn.fhir.fhirpathModifier and TypeClassDescriptionclassThis exception is thrown if a FHIRPath expression can not be executed successfully for any reason -
Uses of BaseServerResponseException in ca.uhn.fhir.rest.client.exceptions
Subclasses of BaseServerResponseException in ca.uhn.fhir.rest.client.exceptionsModifier and TypeClassDescriptionclassRepresents a failure by the HAPI FHIR Client to successfully communicate with a FHIR server, because of IO failures, incomprehensible response, etc.classThis exception will be thrown by FHIR clients if the client attempts to communicate with a server which is a valid FHIR server but is incompatible with this client for some reason.classclass -
Uses of BaseServerResponseException in ca.uhn.fhir.rest.server.exceptions
Subclasses of BaseServerResponseException in ca.uhn.fhir.rest.server.exceptionsModifier and TypeClassDescriptionclassRepresents an HTTP 401 Client Unauthorized response, which means that the client needs to provide credentials, or has provided invalid credentials.classThis 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.classRepresents an HTTP 500 Internal Error response.classRepresents an HTTP 400 Bad Request response.classRepresents an HTTP 405 Method Not Allowed response.classThis Represents an HTTP 501 Not Implemented response, which means the resource provider currently lacks the ability to fullfill the request.classThis Represents an HTTP 301 Not Modified response, which means the resource has not changed since the last version the client retrieved.classThis Represents an HTTP 413 Payload Too Large response, which means the request body was too big for the server to acceptclassRepresents an HTTP 412 Precondition Failed response.classRepresents an HTTP 410 Resource Gone response, which generally indicates that the resource has been deletedclassRepresents an HTTP 404 Resource Not Found response, which means that the request is pointing to a resource that does not exist.classRepresents an HTTP 409 Conflict response.classDeprecated.classException for use when a response is received or being sent that does not correspond to any other exception type.classRepresents 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".Methods in ca.uhn.fhir.rest.server.exceptions that return BaseServerResponseExceptionModifier and TypeMethodDescriptionBaseServerResponseException.addResponseHeader(String theName, String theValue) Add a header which will be added to any responsesstatic BaseServerResponseExceptionBaseServerResponseException.newInstance(int theStatusCode, String theMessage) BaseServerResponseException.setErrorMessageTrusted(boolean theErrorMessageTrusted) This flag can be used to signal to server infrastructure that the message supplied to this exception (ie to the constructor) is considered trusted and is safe to return to the calling client.
PreconditionFailedExceptioninstead - This exception is strangely named and will be removed at some point.