comparison src/org/tmatesoft/hg/core/HgInvalidControlFileException.java @ 318:c3d2233ba842

Shall propagate errors to clients, not work around them silently
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Sep 2011 03:35:59 +0200
parents
children 3d41dc148d14
comparison
equal deleted inserted replaced
317:09628675bcee 318:c3d2233ba842
1 /*
2 * Copyright (c) 2011 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 java.io.File;
20
21 import org.tmatesoft.hg.internal.Experimental;
22
23 /**
24 * WORK IN PROGRESS
25 *
26 * Subclass of {@link HgInvalidFileException} to indicate failure to deal with one of <b>Mercurial</b> control files (those under .hg/)
27 * @author Artem Tikhomirov
28 * @author TMate Software Ltd.
29 */
30 @SuppressWarnings("serial")
31 @Experimental(reason="WORK IN PROGRESS. Name is likely to change. Path argument to be added?")
32 public class HgInvalidControlFileException extends HgInvalidFileException {
33
34 public HgInvalidControlFileException(String message, Throwable th, File file) {
35 super(message, th, file);
36 }
37
38 }