public class ResourceNotFoundException extends BaseServerResponseException
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CODE |
| Constructor and Description |
|---|
ResourceNotFoundException(Class<? extends IResource> theClass,
BaseIdentifierDt theId)
Deprecated.
This doesn't make sense, since an identifier is not a resource ID and shouldn't generate a 404 if it isn't found - Should be removed
|
ResourceNotFoundException(Class<? extends IResource> theClass,
IdDt theId) |
ResourceNotFoundException(Class<? extends IResource> theClass,
IdDt theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(Class<? extends IResource> theClass,
IIdType theId) |
ResourceNotFoundException(Class<? extends IResource> theClass,
IIdType theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(IdDt theId) |
ResourceNotFoundException(IIdType theId) |
ResourceNotFoundException(IIdType theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(String theMessage) |
ResourceNotFoundException(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 static final int STATUS_CODE
public ResourceNotFoundException(Class<? extends IResource> theClass, IdDt theId)
public ResourceNotFoundException(Class<? extends IResource> theClass, IdDt theId, IBaseOperationOutcome theOperationOutcome)
public ResourceNotFoundException(Class<? extends IResource> theClass, IIdType theId)
public ResourceNotFoundException(Class<? extends IResource> theClass, IIdType theId, IBaseOperationOutcome theOperationOutcome)
public ResourceNotFoundException(String theMessage, IBaseOperationOutcome theOperationOutcome)
theMessage - The messagetheOperationOutcome - The OperationOutcome resource to return to the client@Deprecated public ResourceNotFoundException(Class<? extends IResource> theClass, BaseIdentifierDt theId)
public ResourceNotFoundException(IdDt theId)
public ResourceNotFoundException(IIdType theId)
public ResourceNotFoundException(IIdType theId, IBaseOperationOutcome theOperationOutcome)
public ResourceNotFoundException(String theMessage)
Copyright © 2014–2019 University Health Network. All rights reserved.