[ 
https://issues.apache.org/jira/browse/JCR-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550104
 ] 

Thomas Mueller commented on JCR-1154:
-------------------------------------

The original message may not be very helpful. I think it's better to add as 
much context information as possible, as in:

        try {
            return new FileInputStream(file);
        } catch (IOException e) {
            throw new DataStoreException("Error opening input stream of " + 
file.getAbsolutePath(), e);
        }

because the exception from FileInputStream may not contain the absolute path. 
Or:

        } catch (Exception e) {
            throw convert("Can not init data store, driver=" + driver + " url=" 
+ url + " user=" + user, e);
        }

The original message will not always have that much context information. But if 
you need the non-message constructor, it's not a problem, I can add it.


> Database Data Store
> -------------------
>
>                 Key: JCR-1154
>                 URL: https://issues.apache.org/jira/browse/JCR-1154
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Blocker
>             Fix For: 1.4
>
>         Attachments: jr-1.3.1-bea.zip
>
>
> We want to have a database backed data store implementation.
> An implementation using files is already available as part of JCR-926.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to