jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1532975 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
Date Thu, 17 Oct 2013 06:25:02 GMT
Author: ckoell
Date: Thu Oct 17 06:25:01 2013
New Revision: 1532975

URL: http://svn.apache.org/r1532975
Log:
JCR-3682 If we get a unexpected exception from the jdbc driver it's possible create a unreleased
VersioningLock

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java?rev=1532975&r1=1532974&r2=1532975&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
Thu Oct 17 06:25:01 2013
@@ -928,7 +928,7 @@ public class BundleDbPersistenceManager
             } finally {
                 in.close();
             }
-        } catch (IOException e) {
+        } catch (Exception e) {
             SQLException exception =
                 new SQLException("Failed to parse bundle " + id);
             exception.initCause(e);



Mime
View raw message