Mercurial > hg4j
diff src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java @ 370:a2341e761609
Let callback implementations deliver errors (e,g. own exceptions) to client code
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Dec 2011 02:37:10 +0300 |
parents | 189dc6dc1c3e |
children | 994b5813a925 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java Thu Dec 22 01:46:40 2011 +0300 +++ b/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java Thu Dec 22 02:37:10 2011 +0300 @@ -29,9 +29,11 @@ public interface HgChangesetTreeHandler { /** * @param entry access to various pieces of information about current tree node. Instances might be - * reused across calls and shall not be kept by client's code + * reused across calls and shall not be kept by client's code + * @throws HgCallbackTargetException.Wrap wrapper object for any exception user code may produce. Wrapped exception would get re-thrown with {@link HgCallbackTargetException} + * @throws CancelledException FIXME */ - public void next(HgChangesetTreeHandler.TreeElement entry) throws CancelledException; + public void next(HgChangesetTreeHandler.TreeElement entry) throws HgCallbackTargetException.Wrap, CancelledException; interface TreeElement { /**