Class IdDatabaseExceptions
java.lang.Object
com.io7m.idstore.database.postgres.internal.IdDatabaseExceptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdDatabaseExceptionhandleDatabaseException(IdDatabaseTransactionType transaction, org.jooq.exception.DataAccessException e, Map<String, String> attributes) Handle a data access exception.
-
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 transactione- The exceptionattributes- The extra exception attributes- Returns:
- The resulting exception
-