1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

[221211] [api][breaking][files] need batch operations to indicate which operations were successful

https://bugs.eclipse.org/bugs/show_bug.cgi?id=221211
backing out change, conflicts with Martin's updates.
This commit is contained in:
David Dykstal 2008-05-07 03:59:28 +00:00
parent 9fedb82d9e
commit ea8c7e85e5

View file

@ -1,5 +1,5 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2006, 2008 IBM Corporation and others. All rights reserved. * Copyright (c) 2006, 2007 IBM Corporation and others. All rights reserved.
* This program and the accompanying materials are made available under the terms * This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
@ -22,7 +22,6 @@
* David McKnight (IBM) - [196632] [ftp] Passive mode setting does not work * David McKnight (IBM) - [196632] [ftp] Passive mode setting does not work
* Martin Oberhuber (Wind River) - [204669] Fix ftp path concatenation on systems using backslash separator * Martin Oberhuber (Wind River) - [204669] Fix ftp path concatenation on systems using backslash separator
* Martin Oberhuber (Wind River) - [203500] Support encodings for FTP paths * Martin Oberhuber (Wind River) - [203500] Support encodings for FTP paths
* David Dykstal (IBM) - [221211] handling newly defined exceptions from file service
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.internal.subsystems.files.ftp.connectorservice; package org.eclipse.rse.internal.subsystems.files.ftp.connectorservice;
@ -40,9 +39,9 @@ import org.eclipse.rse.core.model.SystemSignonInformation;
import org.eclipse.rse.internal.services.files.ftp.FTPService; import org.eclipse.rse.internal.services.files.ftp.FTPService;
import org.eclipse.rse.internal.subsystems.files.ftp.FTPSubsystemResources; import org.eclipse.rse.internal.subsystems.files.ftp.FTPSubsystemResources;
import org.eclipse.rse.internal.subsystems.files.ftp.parser.FTPClientConfigFactory; import org.eclipse.rse.internal.subsystems.files.ftp.parser.FTPClientConfigFactory;
import org.eclipse.rse.services.clientserver.messages.SystemRemoteSecurityException;
import org.eclipse.rse.services.files.IFileService; import org.eclipse.rse.services.files.IFileService;
import org.eclipse.rse.services.files.IHostFile; import org.eclipse.rse.services.files.IHostFile;
import org.eclipse.rse.services.files.RemoteFileException;
import org.eclipse.rse.ui.subsystems.StandardConnectorService; import org.eclipse.rse.ui.subsystems.StandardConnectorService;
import org.eclipse.ui.console.ConsolePlugin; import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole; import org.eclipse.ui.console.IConsole;
@ -94,12 +93,12 @@ public class FTPConnectorService extends StandardConnectorService
return propertySet; return propertySet;
} }
protected void internalConnect(IProgressMonitor monitor) throws SystemRemoteSecurityException, IOException protected void internalConnect(IProgressMonitor monitor) throws RemoteFileException, IOException
{ {
internalConnect(); internalConnect();
} }
private void internalConnect() throws SystemRemoteSecurityException, IOException private void internalConnect() throws RemoteFileException, IOException
{ {
IPropertySet propertySet = getPropertySet(); IPropertySet propertySet = getPropertySet();
SystemSignonInformation info = getSignonInformation(); SystemSignonInformation info = getSignonInformation();