Validator.java revision 1194ec356a16f3c6dcf408289e36e42c149d6dc8
1a139d6e587c8b380be518f20779833541bb8fa5fThanh Le/* 21194ec356a16f3c6dcf408289e36e42c149d6dc8Kevin Jin * Copyright (C) 2013 DroidDriver committers 3a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * 4a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * Licensed under the Apache License, Version 2.0 (the "License"); 5a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * you may not use this file except in compliance with the License. 6a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * You may obtain a copy of the License at 7a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * 8a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * http://www.apache.org/licenses/LICENSE-2.0 9a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * 10a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * Unless required by applicable law or agreed to in writing, software 11a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * distributed under the License is distributed on an "AS IS" BASIS, 12a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * See the License for the specific language governing permissions and 14a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * limitations under the License. 15a139d6e587c8b380be518f20779833541bb8fa5fThanh Le */ 16a139d6e587c8b380be518f20779833541bb8fa5fThanh Le 171194ec356a16f3c6dcf408289e36e42c149d6dc8Kevin Jinpackage com.google.android.droiddriver.exceptions; 18a139d6e587c8b380be518f20779833541bb8fa5fThanh Le 19a139d6e587c8b380be518f20779833541bb8fa5fThanh Le/** 20a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * Thrown when an element is not visible on screen, and cannot be interacted with. 21a139d6e587c8b380be518f20779833541bb8fa5fThanh Le */ 221194ec356a16f3c6dcf408289e36e42c149d6dc8Kevin Jinpublic class ElementNotVisibleException extends DroidDriverException { 23a139d6e587c8b380be518f20779833541bb8fa5fThanh Le public ElementNotVisibleException(String message) { 24a139d6e587c8b380be518f20779833541bb8fa5fThanh Le super(message); 25a139d6e587c8b380be518f20779833541bb8fa5fThanh Le } 26a139d6e587c8b380be518f20779833541bb8fa5fThanh Le 27a139d6e587c8b380be518f20779833541bb8fa5fThanh Le public ElementNotVisibleException(String message, Throwable cause) { 28a139d6e587c8b380be518f20779833541bb8fa5fThanh Le super(message, cause); 29a139d6e587c8b380be518f20779833541bb8fa5fThanh Le } 30a139d6e587c8b380be518f20779833541bb8fa5fThanh Le} 31