public class UnprocessableEntityException extends BaseServerResponseException
This exception will generally contain an IBaseOperationOutcome instance which details the failure.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CODE |
| Constructor and Description |
|---|
UnprocessableEntityException(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome)
Constructor which accepts an
IBaseOperationOutcome resource which will be supplied in the response |
UnprocessableEntityException(IBaseOperationOutcome theOperationOutcome)
Deprecated.
Use constructor with FhirContext argument
|
UnprocessableEntityException(String... theMessage)
Constructor which accepts an array of Strings describing the issue.
|
UnprocessableEntityException(String theMessage)
Constructor which accepts a String describing the issue.
|
UnprocessableEntityException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
UnprocessableEntityException(String theMessage,
Throwable theCause)
Constructor which accepts a String describing the issue.
|
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 UnprocessableEntityException(String theMessage, IBaseOperationOutcome theOperationOutcome)
theMessage - The message to add to the status linetheOperationOutcome - The IBaseOperationOutcome resource to return to the client@Deprecated public UnprocessableEntityException(IBaseOperationOutcome theOperationOutcome)
IBaseOperationOutcome resource which will be supplied in the responsepublic UnprocessableEntityException(FhirContext theCtx, IBaseOperationOutcome theOperationOutcome)
IBaseOperationOutcome resource which will be supplied in the responsepublic UnprocessableEntityException(String theMessage)
IBaseOperationOutcome resource which will be supplied in the response.public UnprocessableEntityException(String theMessage, Throwable theCause)
IBaseOperationOutcome resource which will be supplied in the response.public UnprocessableEntityException(String... theMessage)
IBaseOperationOutcome resource which will be supplied in the response.Copyright © 2014–2019 University Health Network. All rights reserved.