Luca Cinquini created OODT-534:
----------------------------------

             Summary: Better error message when product is not found in catalog
                 Key: OODT-534
                 URL: https://issues.apache.org/jira/browse/OODT-534
             Project: OODT
          Issue Type: Improvement
          Components: file manager
    Affects Versions: 0.4
            Reporter: Luca Cinquini
            Assignee: Luca Cinquini
             Fix For: 0.5


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to