commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Smelik (JIRA)" <j...@apache.org>
Subject [jira] Created: (IO-231) FileUtils generate wrong exception message in isFileNewer method
Date Thu, 04 Mar 2010 13:41:27 GMT
FileUtils generate wrong exception message in isFileNewer method
----------------------------------------------------------------

                 Key: IO-231
                 URL: https://issues.apache.org/jira/browse/IO-231
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 1.4
            Reporter: Eugene Smelik
             Fix For: 2.0


{code}
if (!reference.exists()) {
    throw new IllegalArgumentException("The reference file '" + file + "' doesn't exist");
}
{code}
If second argument file does not exist isFileNewer method generates exception with message
about first argument file does not exist.

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


Mime
View raw message