mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-17 05:05:43 +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))
|
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) {
|
catch (Exception e) {
|
||||||
throw new RemoteFileIOException(e);
|
throw new RemoteFileSecurityException(e);
|
||||||
}finally {
|
}finally {
|
||||||
_commandMutex.release();
|
_commandMutex.release();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue