public class ResourceGoneException extends BaseServerResponseException
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CODE |
| Constructor and Description |
|---|
ResourceGoneException(Class<? extends IBaseResource> theClass,
BaseIdentifierDt thePatientId)
Deprecated.
This constructor has a dependency on a specific model version and will be removed. Deprecated in HAPI
1.6 - 2016-07-02
|
ResourceGoneException(Class<? extends IBaseResource> theClass,
IIdType theResourceId)
Constructor which creates an error message based on a given resource ID
|
ResourceGoneException(IIdType theResourceId)
Constructor which creates an error message based on a given resource ID
|
ResourceGoneException(String theMessage)
Constructor
|
ResourceGoneException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IIdType |
getResourceId() |
void |
setResourceId(IIdType theResourceId) |
addResponseHeader, getAdditionalMessages, getOperationOutcome, getResponseBody, getResponseHeaders, getResponseMimeType, getStatusCode, hasResponseHeaders, isErrorMessageTrusted, newInstance, setErrorMessageTrusted, setOperationOutcome, setResponseBody, setResponseMimeTypeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int STATUS_CODE
public ResourceGoneException(IIdType theResourceId)
theResourceId - The ID of the resource that could not be found@Deprecated public ResourceGoneException(Class<? extends IBaseResource> theClass, BaseIdentifierDt thePatientId)
public ResourceGoneException(Class<? extends IBaseResource> theClass, IIdType theResourceId)
theClass - The type of resource that could not be foundtheResourceId - The ID of the resource that could not be foundpublic ResourceGoneException(String theMessage, IBaseOperationOutcome theOperationOutcome)
theMessage - The messagetheOperationOutcome - The OperationOutcome resource to return to the clientpublic ResourceGoneException(String theMessage)
theMessage - The messagepublic IIdType getResourceId()
public void setResourceId(IIdType theResourceId)
Copyright © 2014–2019 University Health Network. All rights reserved.