Uses of Class
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-
Packages that use BaseServerResponseException Package Description ca.uhn.fhir.fluentpath ca.uhn.fhir.rest.client.exceptions ca.uhn.fhir.rest.server.exceptions -
-
Uses of BaseServerResponseException in ca.uhn.fhir.fluentpath
Subclasses of BaseServerResponseException in ca.uhn.fhir.fluentpath Modifier and Type Class Description classFluentPathExecutionExceptionThis exception is thrown if a FluentPath 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.exceptions Modifier and Type Class Description classFhirClientConnectionExceptionRepresents a failure by the HAPI FHIR Client to successfully communicate with a FHIR server, because of IO failures, incomprehensible response, etc.classFhirClientInappropriateForServerExceptionThis 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.classInvalidResponseExceptionclassNonFhirResponseException -
Uses of BaseServerResponseException in ca.uhn.fhir.rest.server.exceptions
Subclasses of BaseServerResponseException in ca.uhn.fhir.rest.server.exceptions Modifier and Type Class Description classAuthenticationExceptionRepresents an HTTP 401 Client Unauthorized response, which means that the client needs to provide credentials, or has provided invalid credentials.classForbiddenOperationExceptionThis 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.classInternalErrorExceptionRepresents an HTTP 500 Internal Error response.classInvalidRequestExceptionRepresents an HTTP 400 Bad Request response.classMethodNotAllowedExceptionRepresents an HTTP 405 Method Not Allowed response.classNotImplementedOperationExceptionThis Represents an HTTP 501 Not Implemented response, which means the resource provider currently lacks the ability to fullfill the request.classNotModifiedExceptionThis Represents an HTTP 301 Not Modified response, which means the resource has not changed since the last version the client retrieved.classPayloadTooLargeExceptionThis Represents an HTTP 413 Payload Too Large response, which means the request body was too big for the server to acceptclassPreconditionFailedExceptionRepresents an HTTP 412 Precondition Failed response.classResourceGoneExceptionRepresents an HTTP 410 Resource Gone response, which geenerally indicates that the resource has been deletedclassResourceNotFoundExceptionRepresents an HTTP 404 Resource Not Found response, which means that the request is pointing to a resource that does not exist.classResourceVersionConflictExceptionRepresents an HTTP 409 Conflict response.classResourceVersionNotSpecifiedExceptionDeprecated.UsePreconditionFailedExceptioninstead - This exception is strangely named and will be removed at some point.classUnclassifiedServerFailureExceptionException for use when a response is received or being sent that does not correspond to any other exception type.classUnprocessableEntityExceptionRepresents 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 BaseServerResponseException Modifier and Type Method Description BaseServerResponseExceptionBaseServerResponseException. addResponseHeader(String theName, String theValue)Add a header which will be added to any responsesstatic BaseServerResponseExceptionBaseServerResponseException. newInstance(int theStatusCode, String theMessage)BaseServerResponseExceptionBaseServerResponseException. 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.
-