
Class ResourceVersionNotSpecifiedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-
- ca.uhn.fhir.rest.server.exceptions.ResourceVersionNotSpecifiedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PreconditionFailedException
@Deprecated public class ResourceVersionNotSpecifiedException extends BaseServerResponseException
Deprecated.UsePreconditionFailedException
instead - This exception is strangely named and will be removed at some point.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_CODE
Deprecated.
-
Constructor Summary
Constructors Constructor Description ResourceVersionNotSpecifiedException(int theStatusCode, String error)
Deprecated.ResourceVersionNotSpecifiedException(int theStatusCode, String theMessage, IBaseOperationOutcome theOperationOutcome)
Deprecated.ConstructorResourceVersionNotSpecifiedException(String error)
Deprecated.ResourceVersionNotSpecifiedException(String theMessage, IBaseOperationOutcome theOperationOutcome)
Deprecated.Constructor
-
Method Summary
-
Methods inherited from class ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
addResponseHeader, getAdditionalMessages, getOperationOutcome, getResponseBody, getResponseHeaders, getResponseMimeType, getStatusCode, hasResponseHeaders, isErrorMessageTrusted, newInstance, setErrorMessageTrusted, setOperationOutcome, setResponseBody, setResponseMimeType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
STATUS_CODE
public static final int STATUS_CODE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResourceVersionNotSpecifiedException
public ResourceVersionNotSpecifiedException(String error)
Deprecated.
-
ResourceVersionNotSpecifiedException
public ResourceVersionNotSpecifiedException(String theMessage, IBaseOperationOutcome theOperationOutcome)
Deprecated.Constructor- Parameters:
theMessage
- The messagetheOperationOutcome
- The OperationOutcome resource to return to the client
-
ResourceVersionNotSpecifiedException
public ResourceVersionNotSpecifiedException(int theStatusCode, String error)
Deprecated.
-
ResourceVersionNotSpecifiedException
public ResourceVersionNotSpecifiedException(int theStatusCode, String theMessage, IBaseOperationOutcome theOperationOutcome)
Deprecated.Constructor- Parameters:
theMessage
- The messagetheOperationOutcome
- The OperationOutcome resource to return to the client
-
-