FIX: Add cause to exception

This commit is contained in:
Roland Praml
2020-02-01 14:07:09 +13:00
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);
}
}