diff src/org/tmatesoft/hg/core/HgManifestCommand.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 78a9e26e670d
children 98ff1fb49abe
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgManifestCommand.java	Tue May 21 20:17:33 2013 +0200
+++ b/src/org/tmatesoft/hg/core/HgManifestCommand.java	Wed May 22 15:52:31 2013 +0200
@@ -190,7 +190,7 @@
 			}
 		}
 	
-		public boolean begin(int manifestRevision, Nodeid nid, int changelogRevision) {
+		public boolean begin(int manifestRevision, Nodeid nid, int changelogRevision) throws HgRuntimeException {
 			if (needDirs && manifestContent == null) {
 				manifestContent = new LinkedList<HgFileRevision>();
 			}
@@ -206,7 +206,7 @@
 				return false;
 			}
 		}
-		public boolean end(int revision) {
+		public boolean end(int revision) throws HgRuntimeException {
 			try {
 				if (needDirs) {
 					LinkedHashMap<Path, LinkedList<HgFileRevision>> breakDown = new LinkedHashMap<Path, LinkedList<HgFileRevision>>();
@@ -243,7 +243,7 @@
 			}
 		}
 		
-		public boolean next(Nodeid nid, Path fname, Flags flags) {
+		public boolean next(Nodeid nid, Path fname, Flags flags) throws HgRuntimeException {
 			if (matcher != null && !matcher.accept(fname)) {
 				return true;
 			}