Interface SQLExceptionTranslator

All Known Implementing Classes:
DefaultSQLExceptionTranslator

public interface SQLExceptionTranslator
SQLExceptionTranslator translate SQLExceptions to runtime exceptions
Author:
tiwe
  • Method Details

    • translate

      RuntimeException translate(String sql, List<Object> bindings, SQLException e)
      Translate the given SQLException
      Parameters:
      sql - SQL string
      bindings - binding
      e - SQLException to translate
      Returns:
      translated exception
    • translate

      Translate the given SQLException
      Parameters:
      e - SQLException to translate
      Returns:
      translated exception