2 * This file is part of the Vamsas Client version 0.1.
3 * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite,
4 * Andrew Waterhouse and Dominik Lindner.
6 * Earlier versions have also been incorporated into Jalview version 2.4
7 * since 2008, and TOPALi version 2 since 2007.
9 * The Vamsas Client is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
14 * The Vamsas Client is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with the Vamsas Client. If not, see <http://www.gnu.org/licenses/>.
22 package uk.ac.vamsas.client.simpleclient;
28 public class LockTimeoutException extends Exception {
29 static final long serialVersionUID = 1;
31 static final String defaultMessage = "Timeout whilst waiting for lock on VamsasDocument";
33 public LockTimeoutException() {
34 super(defaultMessage);
37 public LockTimeoutException(String arg0, Throwable arg1) {
38 super(arg0 + " (timeout whilst waiting for lock)", arg1);
39 // TODO Auto-generated constructor stub
42 public LockTimeoutException(String arg0) {
43 super(arg0 + " (timeout whilst waiting for lock)");
44 // TODO Auto-generated constructor stub
47 public LockTimeoutException(Throwable arg0) {
48 super(defaultMessage, arg0);
49 // TODO Auto-generated constructor stub