Class FHIRPersistenceFKVException
- 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.FHIRPersistenceDataAccessException
-
- org.linuxforhealth.fhir.persistence.jdbc.exception.FHIRPersistenceFKVException
-
- All Implemented Interfaces:
java.io.Serializable
public class FHIRPersistenceFKVException extends FHIRPersistenceDataAccessException
This exception class is thrown when Foreign Key violations are encountered while attempting to access data in the FHIR DB.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FHIRPersistenceFKVException(java.lang.String message)
FHIRPersistenceFKVException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPersistenceFKVException
withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIRPersistenceFKVException
withIssue(OperationOutcome.Issue... issues)
-
Methods inherited from class org.linuxforhealth.fhir.persistence.exception.FHIRPersistenceDataAccessException
isTransactionRetryable, setTransactionRetryable
-
Methods inherited from class org.linuxforhealth.fhir.exception.FHIROperationException
buildOperationOutcome, getIssues, setIssues
-
Methods inherited from class org.linuxforhealth.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
-
-
-
Method Detail
-
withIssue
public FHIRPersistenceFKVException withIssue(OperationOutcome.Issue... issues)
- Overrides:
withIssue
in classFHIRPersistenceDataAccessException
-
withIssue
public FHIRPersistenceFKVException withIssue(java.util.Collection<OperationOutcome.Issue> issues)
- Overrides:
withIssue
in classFHIRPersistenceDataAccessException
-
-