Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
369:091666b87f62 | 370:a2341e761609 |
---|---|
27 * @author TMate Software Ltd. | 27 * @author TMate Software Ltd. |
28 */ | 28 */ |
29 public interface HgChangesetTreeHandler { | 29 public interface HgChangesetTreeHandler { |
30 /** | 30 /** |
31 * @param entry access to various pieces of information about current tree node. Instances might be | 31 * @param entry access to various pieces of information about current tree node. Instances might be |
32 * reused across calls and shall not be kept by client's code | 32 * reused across calls and shall not be kept by client's code |
33 * @throws HgCallbackTargetException.Wrap wrapper object for any exception user code may produce. Wrapped exception would get re-thrown with {@link HgCallbackTargetException} | |
34 * @throws CancelledException FIXME | |
33 */ | 35 */ |
34 public void next(HgChangesetTreeHandler.TreeElement entry) throws CancelledException; | 36 public void next(HgChangesetTreeHandler.TreeElement entry) throws HgCallbackTargetException.Wrap, CancelledException; |
35 | 37 |
36 interface TreeElement { | 38 interface TreeElement { |
37 /** | 39 /** |
38 * Revision of the revlog being iterated. For example, when walking file history, return value represents file revisions. | 40 * Revision of the revlog being iterated. For example, when walking file history, return value represents file revisions. |
39 * | 41 * |