Validator.java revision a139d6e587c8b380be518f20779833541bb8fa5f
1a139d6e587c8b380be518f20779833541bb8fa5fThanh Le/* 2a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * Copyright (C) 2013 UiDriver 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 17a139d6e587c8b380be518f20779833541bb8fa5fThanh Lepackage com.google.android.uidriver.exceptions; 18a139d6e587c8b380be518f20779833541bb8fa5fThanh Le 19a139d6e587c8b380be518f20779833541bb8fa5fThanh Le/** 20a139d6e587c8b380be518f20779833541bb8fa5fThanh Le * Thrown when an element is not visible on screen, and cannot be interacted with. 21a139d6e587c8b380be518f20779833541bb8fa5fThanh Le */ 22a139d6e587c8b380be518f20779833541bb8fa5fThanh Lepublic class ElementNotVisibleException extends UiDriverException { 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