You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2010/10/20 19:08:22 UTC
[jira] Updated: (GORA-7) DataStoreFactory.createDataStore() should
throw exceptions on failure
[ 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.