1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00

[187862] Incorrect Error Message when creating new file in read-only directory

This commit is contained in:
Javier Montalvo Orus 2007-05-25 13:29:07 +00:00
parent 0b712e48d1
commit 952adeb56a

View file

@ -891,12 +891,12 @@ public class FTPService extends AbstractFileService implements IFileService, IFT
if(!ftpClient.makeDirectory(folderName))
{
throw new Exception(ftpClient.getReplyString()+" ("+folderName+")"); //$NON-NLS-1$ //$NON-NLS-2$
throw new RemoteFileIOException(new Exception(ftpClient.getReplyString()+" ("+folderName+")")); //$NON-NLS-1$ //$NON-NLS-2$
}
}
catch (Exception e) {
throw new RemoteFileIOException(e);
throw new RemoteFileSecurityException(e);
}finally {
_commandMutex.release();
}