NoComponentUnderMouseException.java revision 13978:1993af50385d
177218Sphk/* 277218Sphk * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. 377218Sphk * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 477218Sphk * 577218Sphk * This code is free software; you can redistribute it and/or modify it 677218Sphk * under the terms of the GNU General Public License version 2 only, as 777218Sphk * published by the Free Software Foundation. 877218Sphk * 977218Sphk * This code is distributed in the hope that it will be useful, but WITHOUT 1077218Sphk * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1177218Sphk * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1291454Sbrooks * version 2 for more details (a copy is included in the LICENSE file that 1391454Sbrooks * accompanied this code). 1477218Sphk * 1577218Sphk * You should have received a copy of the GNU General Public License version 1677218Sphk * 2 along with this work; if not, write to the Free Software Foundation, 1777218Sphk * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1877218Sphk * 1977218Sphk * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2077218Sphk * or visit www.oracle.com if you need additional information or have any 2177218Sphk * questions. 2277218Sphk */ 2377218Sphkpackage org.netbeans.jemmy; 2477218Sphk 2577218Sphk/** 2677218Sphk * 2777218Sphk * Exception can be throwht as a result of attempt to produce a mouse pressing 2877218Sphk * when mouse is not over the java component. 2977218Sphk * 3077218Sphk * @author Alexandre Iline (alexandre.iline@oracle.com) 3177218Sphk */ 3277218Sphkpublic class NoComponentUnderMouseException extends RuntimeException { 3377218Sphk 3477218Sphk private static final long serialVersionUID = 42L; 3577218Sphk 3677218Sphk /** 3777218Sphk * Constructor. 3877218Sphk */ 3977218Sphk public NoComponentUnderMouseException() { 4077218Sphk super("No component under the mouse!"); 4177218Sphk } 4277218Sphk 4377218Sphk} 4477218Sphk