You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/11/20 16:12:01 UTC

[jira] [Created] (VFS-682) Throw a org.apache.commons.vfs2.FileSystemException instead of a NullPointerException in org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)

Gary Gregory created VFS-682:
--------------------------------

             Summary: Throw a org.apache.commons.vfs2.FileSystemException instead of a NullPointerException in org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)
                 Key: VFS-682
                 URL: https://issues.apache.org/jira/browse/VFS-682
             Project: Commons VFS
          Issue Type: Improvement
            Reporter: Gary Gregory
            Assignee: Gary Gregory
             Fix For: 2.3


Throw a {{org.apache.commons.vfs2.FileSystemException}} instead of a {{NullPointerException}} in {{org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)}}

Since we already throw a {{org.apache.commons.vfs2.FileSystemException}} when {{base}} is {{null}}, we should also throw the same exception when {{name}} is null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)