connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
equal
deleted
inserted
replaced
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) { |