You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Florent Guillaume (JIRA)" <ji...@apache.org> on 2007/10/17 18:37:50 UTC
[jira] Created: (JCR-1178) Rethrow exception with cause in
BundleDbPersistenceManager
Rethrow exception with cause in BundleDbPersistenceManager
----------------------------------------------------------
Key: JCR-1178
URL: https://issues.apache.org/jira/browse/JCR-1178
Project: Jackrabbit
Issue Type: Improvement
Components: jackrabbit-core
Reporter: Florent Guillaume
Priority: Trivial
An exception forwarded from SQL should have a cause for better diagnosis.
Index: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
===================================================================
--- jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java (revision 585555)
+++ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java (working copy)
@@ -604,7 +604,7 @@
}
return nameIndex;
} catch (Exception e) {
- throw new IllegalStateException("Unable to create nsIndex: " + e);
+ throw new IllegalStateException("Unable to create nsIndex", e);
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1178) Rethrow exception with cause in
BundleDbPersistenceManager
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-1178.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.4
Assignee: Jukka Zitting
Patch committed in revision 586807. Thanks!
> Rethrow exception with cause in BundleDbPersistenceManager
> ----------------------------------------------------------
>
> Key: JCR-1178
> URL: https://issues.apache.org/jira/browse/JCR-1178
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core
> Reporter: Florent Guillaume
> Assignee: Jukka Zitting
> Priority: Trivial
> Fix For: 1.4
>
>
> An exception forwarded from SQL should have a cause for better diagnosis.
> Index: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
> ===================================================================
> --- jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java (revision 585555)
> +++ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java (working copy)
> @@ -604,7 +604,7 @@
> }
> return nameIndex;
> } catch (Exception e) {
> - throw new IllegalStateException("Unable to create nsIndex: " + e);
> + throw new IllegalStateException("Unable to create nsIndex", e);
> }
> }
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.