Module io.ebean.api

Interface SqlExceptionTranslator

  • All Known Implementing Classes:
    SqlCodeTranslator

    public interface SqlExceptionTranslator
    Used to translate SQLExceptions to specific persistence exceptions.
    • Method Detail

      • translate

        javax.persistence.PersistenceException translate​(String message,
                                                         SQLException e)
        Translate the given exception.