Package com.io7m.idstore.database.postgres.internal

# Class IdDatabaseExceptions

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

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IdDatabaseException`
  `handleDatabaseException(IdDatabaseTransactionType transaction, org.jooq.exception.DataAccessException e, Map<String,String> attributes)`
  Handle a data access exception.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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