Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgLogCommand.java @ 380:9517df1ef7ec
Comments/javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 09 Feb 2012 18:57:14 +0100 |
parents | a2341e761609 |
children | 994b5813a925 |
comparison
equal
deleted
inserted
replaced
379:fa2be7a05af6 | 380:9517df1ef7ec |
---|---|
201 } | 201 } |
202 | 202 |
203 /** | 203 /** |
204 * | 204 * |
205 * @param handler callback to process changesets. | 205 * @param handler callback to process changesets. |
206 * @throws HgCallbackTargetException FIXME | 206 * @throws HgCallbackTargetException to re-throw exception from the handler |
207 * @throws HgException FIXME | 207 * @throws HgException FIXME |
208 * @throws CancelledException FIXME | 208 * @throws CancelledException if execution of the command was cancelled |
209 * @throws IllegalArgumentException when inspector argument is null | 209 * @throws IllegalArgumentException when inspector argument is null |
210 * @throws ConcurrentModificationException if this log command instance is already running | 210 * @throws ConcurrentModificationException if this log command instance is already running |
211 */ | 211 */ |
212 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 212 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException { |
213 if (handler == null) { | 213 if (handler == null) { |
261 progressHelper.done(); | 261 progressHelper.done(); |
262 } | 262 } |
263 } | 263 } |
264 | 264 |
265 /** | 265 /** |
266 * | 266 * TODO documentation |
267 * @param handler | 267 * @param handler |
268 * @throws HgCallbackTargetException | 268 * @throws HgCallbackTargetException to re-throw exception from the handler |
269 * @throws HgException | 269 * @throws HgException FIXME |
270 * @throws CancelledException | 270 * @throws CancelledException if execution of the command was cancelled |
271 */ | 271 */ |
272 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 272 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { |
273 if (handler == null) { | 273 if (handler == null) { |
274 throw new IllegalArgumentException(); | 274 throw new IllegalArgumentException(); |
275 } | 275 } |