Author: rgoers Date: Sun Sep 25 00:55:47 2011 New Revision: 1175287 URL: http://svn.apache.org/viewvc?rev=1175287&view=rev Log: Apply patch for VFS-351 - Chain SftpException to FileSystemException
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java commons/proper/vfs/trunk/src/changes/changes.xml Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java?rev=1175287&r1=1175286&r2=1175287&view=diff ============================================================================== --- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java (original) +++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java Sun Sep 25 00:55:47 2011 @@ -141,7 +141,7 @@ public class SftpFileSystem catch (SftpException e) { throw new FileSystemException("vfs.provider.sftp/change-work-directory.error", - workingDirectory); + workingDirectory, e); } } } Modified: commons/proper/vfs/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1175287&r1=1175286&r2=1175287&view=diff ============================================================================== --- commons/proper/vfs/trunk/src/changes/changes.xml (original) +++ commons/proper/vfs/trunk/src/changes/changes.xml Sun Sep 25 00:55:47 2011 @@ -23,6 +23,9 @@ <body> <release version="2.1" date="TBD" description=""> + <action issue="VFS-351" dev="rgoers" type="fix" due-to="John Backstrand"> + Chain the SftpException in the FileSystemException. + </action> <action issue="VFS-361" dev="rgoers" type="update"> Upgrade commons collections version to 3.2.1. </action>