Module io.ebean.api

Interface SqlExceptionTranslator

All Known Implementing Classes:
SqlCodeTranslator

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

    Modifier and Type
    Method
    Description
    javax.persistence.PersistenceException
    Translate the given exception.
  • Method Details

    • translate

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