throw JavascriptVmImpl.newIOException("Failed to get protocol version from remote", e);
}
if (serverVersionString == null) {
throw new UnsupportedVersionException(BrowserImpl.PROTOCOL_VERSION, null);
}
Version serverVersion = Version.parseString(serverVersionString);
if (serverVersion == null ||
serverVersion.compareTo(BrowserImpl.PROTOCOL_VERSION) < 0) {
throw new UnsupportedVersionException(BrowserImpl.PROTOCOL_VERSION, serverVersion);
}
}