Error details from FileUtils.copyFile are not rethrown in 
NativeLinkMojo.getDependencyFile
------------------------------------------------------------------------------------------

                 Key: MOJO-656
                 URL: http://jira.codehaus.org/browse/MOJO-656
             Project: Mojo
          Issue Type: Bug
          Components: native
            Reporter: DJ Gregor
         Attachments: 
NativeLinkMojo-getDependencyFile-exception-improvement.patch

IOExceptions are caught in NativeLinkMojo.getDependencyFile is copying the 
dependency and a new MojoExecutionException is thrown, but no details from the 
IOException are included, nor is any context surrounding the exception (such as 
what was being copied and to where it was being copied).

The attached patch includes the original IOException as the cause when creating 
the MojoExecutionException and also includes details on the source and 
destination files in the exception message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to