public class UnclassifiedServerFailureException extends BaseServerResponseException
| Constructor and Description |
|---|
UnclassifiedServerFailureException(int theStatusCode,
String theMessage)
Constructor
|
UnclassifiedServerFailureException(int theStatusCode,
String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
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 UnclassifiedServerFailureException(int theStatusCode, String theMessage)
theStatusCode - The HTTP status code to return (e.g. 404 if you wish to return an HTTP 404 status)theMessage - The message to add to the status linepublic UnclassifiedServerFailureException(int theStatusCode, String theMessage, IBaseOperationOutcome theOperationOutcome)
theStatusCode - The HTTP status code to return (e.g. 404 if you wish to return an HTTP 404 status)theMessage - The message to add to the status linetheOperationOutcome - The OperationOutcome resource to return to the clientCopyright © 2014–2019 University Health Network. All rights reserved.