public class InvalidRequestException extends BaseServerResponseException
UnprocessableEntityException which indicates
that data does not pass business rule validation on the server.
Note that a complete list of RESTful exceptions is available in the Package Summary.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CODE |
| Constructor and Description |
|---|
InvalidRequestException(String theMessage) |
InvalidRequestException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
addResponseHeader, getAdditionalMessages, getOperationOutcome, getResponseBody, getResponseHeaders, getResponseMimeType, getStatusCode, hasResponseHeaders, newInstance, setOperationOutcome, setResponseBody, setResponseMimeTypeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int STATUS_CODE
public InvalidRequestException(String theMessage)
public InvalidRequestException(String theMessage, IBaseOperationOutcome theOperationOutcome)
theMessage - The messagetheOperationOutcome - The OperationOutcome resource to return to the clientCopyright © 2014–2017 University Health Network. All rights reserved.