diff cmdline/org/tmatesoft/hg/console/Log.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 5dcb4581c8ef
children
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Log.java	Tue May 21 20:17:33 2013 +0200
+++ b/cmdline/org/tmatesoft/hg/console/Log.java	Wed May 22 15:52:31 2013 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010-2012 TMate Software Ltd
+ * Copyright (c) 2010-2013 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
@@ -26,6 +26,7 @@
 import org.tmatesoft.hg.core.HgLogCommand;
 import org.tmatesoft.hg.repo.HgDataFile;
 import org.tmatesoft.hg.repo.HgRepository;
+import org.tmatesoft.hg.repo.HgRuntimeException;
 import org.tmatesoft.hg.util.CancelSupport;
 import org.tmatesoft.hg.util.ProgressSupport;
 
@@ -124,7 +125,7 @@
 	private static final class Dump extends ChangesetDumpHandler implements HgChangesetHandler.WithCopyHistory {
 		private final RenameDumpHandler renameHandlerDelegate;
 
-		public Dump(HgRepository hgRepo) {
+		public Dump(HgRepository hgRepo) throws HgRuntimeException {
 			super(hgRepo);
 			renameHandlerDelegate = new RenameDumpHandler();
 		}