comparison src/org/tmatesoft/hg/core/HgRepositoryLockException.java @ 505:3cd3c3d37432

Use checked exception to indicate fs lock entanglements
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 30 Nov 2012 22:08:11 +0100
parents
children f41dd9a3b8af
comparison
equal deleted inserted replaced
504:bf352ce2b97f 505:3cd3c3d37432
1 /*
2 * Copyright (c) 2012 TMate Software Ltd
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * For information on how to redistribute this software under
14 * the terms of a license other than GNU General Public License
15 * contact TMate Software at support@hg4j.com
16 */
17 package org.tmatesoft.hg.core;
18
19 import org.tmatesoft.hg.internal.Experimental;
20 import org.tmatesoft.hg.repo.HgRepositoryLock;
21
22 /**
23 * Thrown from within {@link HgRepositoryLock} to indicate troubles acquiring or releasing a lock.
24 *
25 * @author Artem Tikhomirov
26 * @author TMate Software Ltd.
27 */
28 @SuppressWarnings("serial")
29 @Experimental(reason="Work in progress")
30 public class HgRepositoryLockException extends HgException {
31
32 public HgRepositoryLockException(String message) {
33 super(message);
34 }
35 }