Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgLookup.java @ 215:41a778e3fd31
Issue 5: Facilities for progress and cancellation. More specific exceptions. Exceptions from callbacks as RuntimeException
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 17 May 2011 00:56:54 +0200 |
parents | 44a34baabea0 |
children | 981f9f50bb6c |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgLookup.java Mon May 16 21:10:36 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgLookup.java Tue May 17 00:56:54 2011 +0200 @@ -70,7 +70,7 @@ } } - public HgBundle loadBundle(File location) throws HgException { + public HgBundle loadBundle(File location) /*XXX perhaps, HgDataStreamException or anything like HgMalformedDataException? Or RuntimeEx is better?*/{ if (location == null || !location.canRead()) { throw new IllegalArgumentException(); }