jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1178) Rethrow exception with cause in BundleDbPersistenceManager
Date Sat, 20 Oct 2007 21:34:50 GMT

     [ 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.


Mime
View raw message