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:
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(String message)
FHIRPersistenceFKVException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPersistenceFKVException
withIssue(OperationOutcome.Issue... issues)
FHIRPersistenceFKVException
withIssue(Collection<OperationOutcome.Issue> issues)
-
Methods inherited from class com.ibm.fhir.exception.FHIROperationException
buildOperationOutcome, getIssues, setIssues
-
Methods inherited from class com.ibm.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
withIssue
public FHIRPersistenceFKVException withIssue(OperationOutcome.Issue... issues)
- Overrides:
withIssue
in classFHIRPersistenceDataAccessException
-
withIssue
public FHIRPersistenceFKVException withIssue(Collection<OperationOutcome.Issue> issues)
- Overrides:
withIssue
in classFHIRPersistenceDataAccessException
-
-