[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Updated] (VFS-657) FileSelector implementations like FileDepthSelector should throw Exceptio
From: "Gary Gregory (JIRA)" <jira () apache ! org>
Date: 2018-03-29 18:40:00
Message-ID: JIRA.13148586.1522247249000.143485.1522348800103 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/VFS-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Gary Gregory updated VFS-657:
-----------------------------
Summary: FileSelector implementations like FileDepthSelector should throw \
Exception (was: FileSelector implementations like FileDepthSelector should throw \
Exception A)
> FileSelector implementations like FileDepthSelector should throw Exception
> --------------------------------------------------------------------------
>
> Key: VFS-657
> URL: https://issues.apache.org/jira/browse/VFS-657
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Elias Putz
> Priority: Major
>
> {{org.apache.commons.vfs2.FileDepthSelector}} should throw an {{Exception}} as \
> stated in the interface {{org.apache.commons.vfs2.FileSelector}}, otherwise if you \
> try to extend it the child 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?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic