Class FHIRPersistenceVersionIdMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.linuxforhealth.fhir.exception.FHIRException
-
- org.linuxforhealth.fhir.exception.FHIROperationException
-
- org.linuxforhealth.fhir.persistence.exception.FHIRPersistenceException
-
- org.linuxforhealth.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 org.linuxforhealth.fhir.persistence.exception.FHIRPersistenceException
withIssue, withIssue
-
Methods inherited from class org.linuxforhealth.fhir.exception.FHIROperationException
buildOperationOutcome, getIssues, setIssues
-
Methods inherited from class org.linuxforhealth.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
-