mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-24 00:33:48 +02:00
[226374] [api] Need default SystemMessageException specialisations
This commit is contained in:
parent
ea8c7e85e5
commit
81f5537a9c
1 changed files with 11 additions and 11 deletions
|
@ -90,6 +90,7 @@ import org.eclipse.rse.services.clientserver.messages.ICommonMessageIds;
|
||||||
import org.eclipse.rse.services.clientserver.messages.SimpleSystemMessage;
|
import org.eclipse.rse.services.clientserver.messages.SimpleSystemMessage;
|
||||||
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
||||||
import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
|
import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
|
||||||
|
import org.eclipse.rse.services.clientserver.messages.SystemOperationCancelledException;
|
||||||
import org.eclipse.rse.services.dstore.AbstractDStoreService;
|
import org.eclipse.rse.services.dstore.AbstractDStoreService;
|
||||||
import org.eclipse.rse.services.dstore.util.DownloadListener;
|
import org.eclipse.rse.services.dstore.util.DownloadListener;
|
||||||
import org.eclipse.rse.services.dstore.util.FileSystemMessageUtil;
|
import org.eclipse.rse.services.dstore.util.FileSystemMessageUtil;
|
||||||
|
@ -102,7 +103,6 @@ import org.eclipse.rse.services.files.IHostFile;
|
||||||
import org.eclipse.rse.services.files.IHostFilePermissions;
|
import org.eclipse.rse.services.files.IHostFilePermissions;
|
||||||
import org.eclipse.rse.services.files.IHostFilePermissionsContainer;
|
import org.eclipse.rse.services.files.IHostFilePermissionsContainer;
|
||||||
import org.eclipse.rse.services.files.PendingHostFilePermissions;
|
import org.eclipse.rse.services.files.PendingHostFilePermissions;
|
||||||
import org.eclipse.rse.services.files.RemoteFileCancelledException;
|
|
||||||
import org.eclipse.rse.services.files.RemoteFileIOException;
|
import org.eclipse.rse.services.files.RemoteFileIOException;
|
||||||
import org.eclipse.rse.services.files.RemoteFileSecurityException;
|
import org.eclipse.rse.services.files.RemoteFileSecurityException;
|
||||||
|
|
||||||
|
@ -436,7 +436,7 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
||||||
|
|
||||||
if (isCancelled)
|
if (isCancelled)
|
||||||
{
|
{
|
||||||
throw new RemoteFileCancelledException();
|
throw new SystemOperationCancelledException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -628,7 +628,7 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
||||||
|
|
||||||
if (isCancelled)
|
if (isCancelled)
|
||||||
{
|
{
|
||||||
throw new RemoteFileCancelledException();
|
throw new SystemOperationCancelledException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (totalBytes > 0)
|
if (totalBytes > 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue