| Modifier and Type | Method and Description |
|---|---|
| public RuntimeException | Returns: The JPA-specified exceptionThe Hibernate exception. e, LockOptions The lock options in effect at the time of exception (can be null) lockOptions)Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions. |
| public RuntimeException | Returns: The JPA-specified exceptionThe Hibernate exception. e)Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions. |
| public RuntimeException | |
| public RuntimeException | |
| public JDBCException | |
| public RuntimeException | Returns: The converted exceptionThe exception being handled e)Converts the exception thrown during the transaction commit phase |
| convert | back to summary |
|---|---|
| public RuntimeException convert(HibernateException e, LockOptions lockOptions) Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(HibernateException e) Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(RuntimeException e) | |
| convert | back to summary |
|---|---|
| public RuntimeException convert(RuntimeException e, LockOptions lockOptions) | |
| convert | back to summary |
|---|---|
| public JDBCException convert(SQLException e, String message) | |
| convertCommitException | back to summary |
|---|---|
| public RuntimeException convertCommitException(RuntimeException e) Converts the exception thrown during the transaction commit phase
| |