gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GORA-7) DataStoreFactory.createDataStore() should throw exceptions on failure
Date Wed, 20 Oct 2010 17:08:22 GMT

     [ https://issues.apache.org/jira/browse/GORA-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Enis Soztutar updated GORA-7:

    Attachment: gora-7_v1.patch

The patch adds GoraException which extends IOException. DataStoreFactory rethrows the exceptions
by wrapping them with GoraExceptions.

> DataStoreFactory.createDataStore() should throw exceptions on failure
> ---------------------------------------------------------------------
>                 Key: GORA-7
>                 URL: https://issues.apache.org/jira/browse/GORA-7
>             Project: Gora
>          Issue Type: Improvement
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: gora-7_v1.patch
> As reported by Andrzej earlier:
> DataStoreFactory.createDataStore may return null when a Store class is present but it's
unable to create a data store (e.g. wrong config, no connection, etc..). Instead it should
preserve the stack trace and re-throw a DataStore-specific exception.

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

View raw message