commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elias Putz (JIRA)" <>
Subject [jira] [Created] (VFS-657) FileDepthSelector should throw Exception
Date Wed, 28 Mar 2018 14:28:00 GMT
Elias Putz created VFS-657:

             Summary: FileDepthSelector should throw Exception
                 Key: VFS-657
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.2
         Environment: {{org.apache.commons.vfs2.FileDepthSelector}} should throw an {{Exception}}
as stated in the interface {{org.apache.commons.vfs2.FileSelector}}, otherwise if try to extend
it my class cannot throw an exception.

I tried to create a class combining the functionality of the {{FileDepthSelector}} and {{FileTypeSelector}}
but couldn't because checking the file type throws an exception.

Another issue: Why is the depth of {{FileFilterSelector}} hard coded?
            Reporter: Elias Putz

This message was sent by Atlassian JIRA

View raw message