Index: tools/telemetry/telemetry/core/exceptions.py |
diff --git a/tools/telemetry/telemetry/browser_gone_exception.py b/tools/telemetry/telemetry/core/exceptions.py |
similarity index 50% |
rename from tools/telemetry/telemetry/browser_gone_exception.py |
rename to tools/telemetry/telemetry/core/exceptions.py |
index 96f3a26a06d47bdd509c055fb468d2a3812f67d0..adcbb317850c3c7b612d90333ba9d52fca4ea812 100644 |
--- a/tools/telemetry/telemetry/browser_gone_exception.py |
+++ b/tools/telemetry/telemetry/core/exceptions.py |
@@ -1,4 +1,4 @@ |
-# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
class BrowserGoneException(Exception): |
@@ -9,3 +9,12 @@ class BrowserGoneException(Exception): |
class BrowserConnectionGoneException(BrowserGoneException): |
pass |
+ |
+class TabCrashException(Exception): |
+ """Represents a crash of the current tab, but not the overall browser. |
+ |
+ In this state, the tab is gone, but the underlying browser is still alive.""" |
+ pass |
+ |
+class EvaluateException(Exception): |
+ pass |