diff src/org/tmatesoft/hg/repo/HgRevisionMap.java @ 628:6526d8adbc0f

Explicit HgRuntimeException to facilitate easy switch from runtime to checked exceptions
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 22 May 2013 15:52:31 +0200
parents be697c3e951e
children 6334b0267103
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRevisionMap.java	Tue May 21 20:17:33 2013 +0200
+++ b/src/org/tmatesoft/hg/repo/HgRevisionMap.java	Wed May 22 15:52:31 2013 +0200
@@ -85,7 +85,7 @@
 	/**
 	 * @return <code>this</code> for convenience.
 	 */
-	public HgRevisionMap<T> init(/*XXX Pool<Nodeid> to reuse nodeids, if possible. */) throws HgInvalidControlFileException{
+	public HgRevisionMap<T> init(/*XXX Pool<Nodeid> to reuse nodeids, if possible. */) throws HgRuntimeException {
 		// XXX HgRepository.register((RepoChangeListener) this); // listen to changes in repo, re-init if needed?
 		final int revisionCount = revlog.getRevisionCount();
 		sequential = new Nodeid[revisionCount];