Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgSubrepoLocation.java @ 295:981f9f50bb6c
Issue 11: Error log facility. SessionContext to share common facilities
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Sep 2011 05:35:32 +0200 |
parents | df9d2854d3d6 |
children | 2747b0723867 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgSubrepoLocation.java Wed Sep 14 04:41:57 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgSubrepoLocation.java Fri Sep 16 05:35:32 2011 +0200 @@ -19,7 +19,7 @@ import java.io.File; import org.tmatesoft.hg.core.HgBadStateException; -import org.tmatesoft.hg.core.HgException; +import org.tmatesoft.hg.core.HgInvalidFileException; import org.tmatesoft.hg.internal.Experimental; import org.tmatesoft.hg.util.Path; @@ -86,7 +86,7 @@ return owner; } - public HgRepository getRepo() throws HgException { + public HgRepository getRepo() throws HgInvalidFileException { if (kind != Kind.Hg) { throw new HgBadStateException(); }