connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
changeset 749 22f0d10fce10
parent 748 7bd40a2d0a18
child 759 d4aeef4e0f16
equal deleted inserted replaced
748:7bd40a2d0a18 749:22f0d10fce10
   528 		}
   528 		}
   529 		if (!isCompatibleConnection(connection, service)) {
   529 		if (!isCompatibleConnection(connection, service)) {
   530 			// TODO ask user to connect a device or cancel
   530 			// TODO ask user to connect a device or cancel
   531 			throw new CoreException(
   531 			throw new CoreException(
   532 					Logging.newStatus(RemoteConnectionsActivator.getDefault(), IStatus.ERROR, 
   532 					Logging.newStatus(RemoteConnectionsActivator.getDefault(), IStatus.ERROR, 
   533 							"No compatible connection found for this id"));
   533 							Messages.getString("Registry.NoCompatibleConnectionMsg"))); //$NON-NLS-1$
   534 		}
   534 		}
   535 		return connection;
   535 		return connection;
   536 	}
   536 	}
   537 
   537 
   538 	private boolean isCompatibleConnection(IConnection connection, IService service) {
   538 	private boolean isCompatibleConnection(IConnection connection, IService service) {