Mercurial > jhg
diff 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 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgInvalidControlFileException.java Tue Feb 21 19:18:40 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgInvalidControlFileException.java Wed Feb 22 03:10:55 2012 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 TMate Software Ltd + * Copyright (c) 2011-2012 TMate Software Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ * @author TMate Software Ltd. */ @SuppressWarnings("serial") -@Experimental(reason="WORK IN PROGRESS. Name is likely to change. Path argument to be added?") +@Experimental(reason="WORK IN PROGRESS. Name is likely to change") public class HgInvalidControlFileException extends HgInvalidFileException { public HgInvalidControlFileException(String message, Throwable th, File file) { @@ -47,4 +47,10 @@ super.setRevision(r); return this; } + + @Override + public HgException setRevisionIndex(int rev) { + super.setRevisionIndex(rev); + return this; + } }