Class FHIRPersistenceFKVException
- 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.jdbc.exception.FHIRPersistenceDataAccessException
-
- com.ibm.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(OperationOutcome.Issue... issues)
FHIRPersistenceFKVException
withIssue(java.util.Collection<OperationOutcome.Issue> issues)
-
Methods inherited from class com.ibm.fhir.persistence.jdbc.exception.FHIRPersistenceDataAccessException
isTransactionRetryable, setTransactionRetryable
-
Methods inherited from class com.ibm.fhir.exception.FHIROperationException
buildOperationOutcome, getIssues, setIssues
-
Methods inherited from class com.ibm.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
-
-