Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgInvalidControlFileException.java @ 394:f52ca9530774 v0.8.0
Resolve FIXMEs: more consistent exceptions
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 22 Feb 2012 03:10:55 +0100 |
parents | 5f9073eabf06 |
children | 0ae53c32ecef |
comparison
equal
deleted
inserted
replaced
393:728708de3597 | 394:f52ca9530774 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011 TMate Software Ltd | 2 * Copyright (c) 2011-2012 TMate Software Ltd |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or modify | 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 | 5 * it under the terms of the GNU General Public License as published by |
6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
7 * | 7 * |
27 * (most likely those under .hg/, but also those residing in the repository, with special meaning to the Mercurial, like .hgtags or .hgignore) | 27 * (most likely those under .hg/, but also those residing in the repository, with special meaning to the Mercurial, like .hgtags or .hgignore) |
28 * @author Artem Tikhomirov | 28 * @author Artem Tikhomirov |
29 * @author TMate Software Ltd. | 29 * @author TMate Software Ltd. |
30 */ | 30 */ |
31 @SuppressWarnings("serial") | 31 @SuppressWarnings("serial") |
32 @Experimental(reason="WORK IN PROGRESS. Name is likely to change. Path argument to be added?") | 32 @Experimental(reason="WORK IN PROGRESS. Name is likely to change") |
33 public class HgInvalidControlFileException extends HgInvalidFileException { | 33 public class HgInvalidControlFileException extends HgInvalidFileException { |
34 | 34 |
35 public HgInvalidControlFileException(String message, Throwable th, File file) { | 35 public HgInvalidControlFileException(String message, Throwable th, File file) { |
36 super(message, th, file); | 36 super(message, th, file); |
37 } | 37 } |
45 @Override | 45 @Override |
46 public HgInvalidControlFileException setRevision(Nodeid r) { | 46 public HgInvalidControlFileException setRevision(Nodeid r) { |
47 super.setRevision(r); | 47 super.setRevision(r); |
48 return this; | 48 return this; |
49 } | 49 } |
50 | |
51 @Override | |
52 public HgException setRevisionIndex(int rev) { | |
53 super.setRevisionIndex(rev); | |
54 return this; | |
55 } | |
50 } | 56 } |