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:
parent
0b712e48d1
commit
952adeb56a
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue