Class NotModifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
ca.uhn.fhir.rest.server.exceptions.NotModifiedException
- All Implemented Interfaces:
Serializable
This Represents an HTTP 301 Not Modified response, which means the resource has not
changed since the last version the client retrieved. This exception should only be used
as a part of the ETag workflow.
Note that a complete list of RESTful exceptions is available in the Package Summary.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNotModifiedException
(String theMessage) NotModifiedException
(String theMessage, IBaseOperationOutcome theOperationOutcome) Constructor -
Method Summary
Methods inherited from class ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
addResponseHeader, getAdditionalMessages, getOperationOutcome, getResponseBody, getResponseHeaders, getResponseMimeType, getStatusCode, hasResponseHeaders, isErrorMessageTrusted, newInstance, setErrorMessageTrusted, setOperationOutcome, setResponseBody, setResponseMimeType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
STATUS_CODE
- See Also:
-
-
Constructor Details
-
NotModifiedException
-
NotModifiedException
Constructor- Parameters:
theMessage
- The messagetheOperationOutcome
- The OperationOutcome resource to return to the client
-