Class FHIRPersistenceDataAccessException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    FHIRPersistenceFKVException

    public class FHIRPersistenceDataAccessException
    extends com.ibm.fhir.persistence.exception.FHIRPersistenceException
    This exception class represents failures encountered while attempting to access (read, write) data in the FHIR DB. TODO replace with Builder fluent pattern to align with the new R4 model style
    See Also:
    Serialized Form
    • Constructor Detail

      • FHIRPersistenceDataAccessException

        public FHIRPersistenceDataAccessException​(String message)
      • FHIRPersistenceDataAccessException

        public FHIRPersistenceDataAccessException​(String message,
                                                  Throwable cause)
    • Method Detail

      • withIssue

        public FHIRPersistenceDataAccessException withIssue​(com.ibm.fhir.model.resource.OperationOutcome.Issue... issues)
        Overrides:
        withIssue in class com.ibm.fhir.persistence.exception.FHIRPersistenceException
      • withIssue

        public FHIRPersistenceDataAccessException withIssue​(Collection<com.ibm.fhir.model.resource.OperationOutcome.Issue> issues)
        Overrides:
        withIssue in class com.ibm.fhir.persistence.exception.FHIRPersistenceException
      • setTransactionRetryable

        public void setTransactionRetryable​(boolean flag)
        Setter for the transactionRetryable flag
        Parameters:
        flag -
      • isTransactionRetryable

        public boolean isTransactionRetryable()
        Getter for the transactionRetryable flag
        Returns:
        true if the transaction could be retried