Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgStatusCommand.java @ 350:33eaed1ad130
Allow FileIterator report any errors from the underlaying file system up to the client
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 29 Nov 2011 03:46:17 +0100 |
parents | 6d1804fe0ed7 |
children | 150500515714 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgStatusCommand.java Thu Nov 24 04:33:42 2011 +0100 +++ b/src/org/tmatesoft/hg/core/HgStatusCommand.java Tue Nov 29 03:46:17 2011 +0100 @@ -20,6 +20,7 @@ import static org.tmatesoft.hg.repo.HgInternals.wrongLocalRevision; import static org.tmatesoft.hg.repo.HgRepository.*; +import java.io.IOException; import java.util.ConcurrentModificationException; import java.util.concurrent.CancellationException; @@ -159,10 +160,11 @@ * Perform status operation according to parameters set. * * @param handler callback to get status information + * @throws IOException if there are (further unspecified) errors while walking working copy * @throws IllegalArgumentException if handler is <code>null</code> * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread) */ - public void execute(Handler statusHandler) throws CancellationException, HgException { + public void execute(Handler statusHandler) throws CancellationException, HgException, IOException { if (statusHandler == null) { throw new IllegalArgumentException(); }