mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: Add cause to exception
This commit is contained in:
committed by
rob bygrave
parent
9ad14c5306
commit
13f8da6b2e
@@ -76,7 +76,7 @@ public class ExternalJdbcTransaction extends JdbcTransaction {
|
||||
*/
|
||||
@Override
|
||||
public void rollback(Throwable e) throws PersistenceException {
|
||||
throw new PersistenceException("This is an external transaction so must be rolled back externally");
|
||||
throw new PersistenceException("This is an external transaction so must be rolled back externally", e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user