Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-7

DataStoreFactory.createDataStore() should throw exceptions on failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • storage
    • None

    Description

      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.

      Attachments

        1. gora-7_v1.patch
          14 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: