blob: c59e7945b4faac3264bcd3d3d10a372bbdab96d7 [file] [log] [blame]
Dounia Berrada3f7480d2011-02-28 09:42:44 -08001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.webkit.webdriver;
18
19/**
20 * Thrown when trying to access a {@link android.webkit.webdriver.WebElement}
21 * that is stale. This mean that the {@link android.webkit.webdriver.WebElement}
22 * is no longer present on the DOM of the page.
23 * @hide
24 */
25public class WebElementStaleException extends RuntimeException {
26
27 public WebElementStaleException() {
28 super();
29 }
30
31 public WebElementStaleException(String reason) {
32 super(reason);
33 }
34
35 public WebElementStaleException(String reason, Throwable cause) {
36 super(reason, cause);
37 }
38
39 public WebElementStaleException(Throwable cause) {
40 super(cause);
41 }
42}