Package io.ebean.config.dbplatform
Interface SqlExceptionTranslator
-
- All Known Implementing Classes:
SqlCodeTranslator
public interface SqlExceptionTranslator
Used to translate SQLExceptions to specific persistence exceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.persistence.PersistenceException
translate(String message, SQLException e)
Translate the given exception.
-
-
-
Method Detail
-
translate
javax.persistence.PersistenceException translate(String message, SQLException e)
Translate the given exception.
-
-