DataModelHelper.filter() throws wrong Exception
-----------------------------------------------

                 Key: FELIX-2221
                 URL: https://issues.apache.org/jira/browse/FELIX-2221
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: bundlerepository-1.6.0


The DataModelHelper.filter method is documented to throw InvalidSyntaxException 
if the filter syntax is incorrect, yet the signature does not contain this 
checked exception. Also the DataModelHelperImpl.filter method actually wraps 
the InvalidSyntaxException inside an IllegalArgumentException.

I think, we should implement DataModelHelper as intended by adding the 
InvalidSyntaxException to the signature and forwarding the exception unmodified 
from the filter() method implementation

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

Reply via email to