diff src/org/tmatesoft/hg/internal/FileAnnotation.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 707b5c7c6fa4
children 5f52074707b2
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/FileAnnotation.java	Tue May 21 20:17:33 2013 +0200
+++ b/src/org/tmatesoft/hg/internal/FileAnnotation.java	Wed May 22 15:52:31 2013 +0200
@@ -23,6 +23,7 @@
 import org.tmatesoft.hg.repo.HgBlameInspector.RevisionDescriptor;
 import org.tmatesoft.hg.repo.HgDataFile;
 import org.tmatesoft.hg.repo.HgInvalidStateException;
+import org.tmatesoft.hg.repo.HgRuntimeException;
 
 /**
  * Produce output like 'hg annotate' does
@@ -48,7 +49,7 @@
 	/**
 	 * Annotate file revision, line by line.
 	 */
-	public static void annotate(HgDataFile df, int changelogRevisionIndex, LineInspector insp) throws HgCallbackTargetException {
+	public static void annotate(HgDataFile df, int changelogRevisionIndex, LineInspector insp) throws HgCallbackTargetException, HgRuntimeException {
 		if (!df.exists()) {
 			return;
 		}