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)`
  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)
    Handle a data access exception.
    Parameters:
      `transaction` - The transaction
      `e` - The exception
    Returns:
      The resulting exception