comparison src/org/tmatesoft/hg/core/HgOutgoingCommand.java @ 354:5f9073eabf06

Propagate errors with exceptions up to a end client
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 01 Dec 2011 05:21:40 +0100
parents d68dcb3b5f49
children 189dc6dc1c3e
comparison
equal deleted inserted replaced
353:0f3687e79f5a 354:5f9073eabf06
107 /** 107 /**
108 * Complete information about outgoing changes 108 * Complete information about outgoing changes
109 * 109 *
110 * @param handler delegate to process changes 110 * @param handler delegate to process changes
111 */ 111 */
112 public void executeFull(final HgChangesetHandler handler) throws HgRemoteConnectionException, HgCallbackTargetException, CancelledException { 112 public void executeFull(final HgChangesetHandler handler) throws HgRemoteConnectionException, HgInvalidControlFileException, HgCallbackTargetException, CancelledException {
113 if (handler == null) { 113 if (handler == null) {
114 throw new IllegalArgumentException("Delegate can't be null"); 114 throw new IllegalArgumentException("Delegate can't be null");
115 } 115 }
116 final ProgressSupport ps = getProgressSupport(handler); 116 final ProgressSupport ps = getProgressSupport(handler);
117 final CancelSupport cs = getCancelSupport(handler, true); 117 final CancelSupport cs = getCancelSupport(handler, true);