jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r792181 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Date Wed, 08 Jul 2009 15:13:47 GMT
Author: mreutegg
Date: Wed Jul  8 15:13:46 2009
New Revision: 792181

URL: http://svn.apache.org/viewvc?rev=792181&view=rev
Log:
JCR-2196: Add cause to ItemStateException in BundleDbPersistenceManager.store()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java?rev=792181&r1=792180&r2=792181&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Wed Jul  8 15:13:46 2009
@@ -564,7 +564,7 @@
                 connectionManager.setAutoReconnect(true);
             }
         } while(blockOnConnectionLoss || trials > 0);
-        throw new ItemStateException(lastException.getMessage());
+        throw new ItemStateException(lastException.getMessage(), lastException);
     }
 
     /**



Mime
View raw message