If the connection fails, a RuntimeException is thrown.
290291292293294295296297298299300
try { Activator.myself.closeDesktop(); if("".equals(host) || "local".equals(host)) { remoteBC = null; } else { remoteBC = rc.connect(host); } remoteHost = host; } catch (Exception e) { log.error("Failed to connect to " + host); }