--- a/org.chromium.sdk/src/org/chromium/sdk/internal/BrowserImpl.java Thu Jan 28 10:18:04 2010 -0800
+++ b/org.chromium.sdk/src/org/chromium/sdk/internal/BrowserImpl.java Thu Jan 28 11:27:14 2010 -0800
@@ -17,6 +17,7 @@
import org.chromium.sdk.Browser;
import org.chromium.sdk.BrowserTab;
+import org.chromium.sdk.ChromiumIOException;
import org.chromium.sdk.TabDebugEventListener;
import org.chromium.sdk.UnsupportedVersionException;
import org.chromium.sdk.Version;
@@ -102,7 +103,7 @@
try {
serverVersionString = devToolsHandler.version(OPERATION_TIMEOUT_MS);
} catch (TimeoutException e) {
- throw new IOException("Failed to get protocol version from remote", e);
+ throw new ChromiumIOException("Failed to get protocol version from remote", e);
}
if (serverVersionString == null) {
throw new UnsupportedVersionException(BrowserImpl.PROTOCOL_VERSION, null);
@@ -291,7 +292,7 @@
ticket = connectInternal();
} catch (UnsupportedVersionException e) {
// This exception should have happened on tab fetcher creation.
- throw new IOException("Unexpected version problem", e);
+ throw new ChromiumIOException("Unexpected version problem", e);
}
Session session = ticket.getSession();