Class IdDatabaseExceptions

java.lang.Object
com.io7m.idstore.database.postgres.internal.IdDatabaseExceptions

public final class IdDatabaseExceptions extends Object
Functions to handle database exceptions.
  • Method Details

    • handleDatabaseException

      public static IdDatabaseException handleDatabaseException(IdDatabaseTransactionType transaction, org.jooq.exception.DataAccessException e, Map<String,String> attributes)
      Handle a data access exception.
      Parameters:
      transaction - The transaction
      e - The exception
      attributes - The extra exception attributes
      Returns:
      The resulting exception