Class FHIRPersistenceVersionIdMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.fhir.exception.FHIRException
-
- com.ibm.fhir.exception.FHIROperationException
-
- com.ibm.fhir.persistence.exception.FHIRPersistenceException
-
- com.ibm.fhir.persistence.exception.FHIRPersistenceVersionIdMismatchException
-
- All Implemented Interfaces:
java.io.Serializable
public class FHIRPersistenceVersionIdMismatchException extends FHIRPersistenceException
This exception class represents an occurrence of a mismatch between the version id in the resource json vs. the next expected version. This can happen due to a race condition when a particular resource is being updated concurrently on different threads.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FHIRPersistenceVersionIdMismatchException(java.lang.String message)
FHIRPersistenceVersionIdMismatchException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.ibm.fhir.persistence.exception.FHIRPersistenceException
withIssue, withIssue
-
Methods inherited from class com.ibm.fhir.exception.FHIROperationException
buildOperationOutcome, getIssues, setIssues
-
Methods inherited from class com.ibm.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
-