diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-11-19 16:13:05 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-11-19 16:13:05 -0500 |
commit | a9b2a73a6c8897e84e5e64ee8b41fe17b06d3f54 (patch) | |
tree | eb1216068d7e9be1c1039f13953b2101f00aa60f /java/src/Freeze/TransactionI.java | |
parent | Added IceSL makedist.py (diff) | |
download | ice-a9b2a73a6c8897e84e5e64ee8b41fe17b06d3f54.tar.bz2 ice-a9b2a73a6c8897e84e5e64ee8b41fe17b06d3f54.tar.xz ice-a9b2a73a6c8897e84e5e64ee8b41fe17b06d3f54.zip |
Fixed bug #2543
Diffstat (limited to 'java/src/Freeze/TransactionI.java')
-rwxr-xr-x | java/src/Freeze/TransactionI.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/Freeze/TransactionI.java b/java/src/Freeze/TransactionI.java index 7705cea4798..9051b0b08a1 100755 --- a/java/src/Freeze/TransactionI.java +++ b/java/src/Freeze/TransactionI.java @@ -52,9 +52,8 @@ class TransactionI implements Transaction e.getMessage()); } - DeadlockException ex = new DeadlockException(); + DeadlockException ex = new DeadlockException(_errorPrefix + "DbTxn.commit: " + e.getMessage(), this); ex.initCause(e); - ex.message = _errorPrefix + "DbTxn.commit: " + e.getMessage(); throw ex; } catch(com.sleepycat.db.DatabaseException e) @@ -123,9 +122,8 @@ class TransactionI implements Transaction deadlock = true; - DeadlockException ex = new DeadlockException(); + DeadlockException ex = new DeadlockException(_errorPrefix + "DbTxn.abort: " + e.getMessage(), this); ex.initCause(e); - ex.message = _errorPrefix + "DbTxn.abort: " + e.getMessage(); throw ex; } catch(com.sleepycat.db.DatabaseException e) |