Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-534

Better error message when product is not found in catalog

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: file manager
    • Labels:
      None

      Description

      Right now, if a client queries for a non-existing product by identifier, the LuceneCatalog implementation returns this error message:

      Exception in thread "main" org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: java.lang.Exception: org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: Product: [xxx] is not unique in the catalog!

      A better error message would indicate that the product does not exist.

        Attachments

          Activity

            People

            • Assignee:
              cinquini Luca Cinquini
              Reporter:
              cinquini Luca Cinquini
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: