comparison src/org/tmatesoft/hg/core/HgStatusCommand.java @ 429:cd658b24a620

FIXMEs: javadoc, proper use of constants
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 18:29:03 +0200
parents 31a89587eb04
children 36fd1fd06492
comparison
equal deleted inserted replaced
428:ead6c67f3319 429:cd658b24a620
163 * Perform status operation according to parameters set. 163 * Perform status operation according to parameters set.
164 * 164 *
165 * @param statusHandler callback to get status information 165 * @param statusHandler callback to get status information
166 * @throws HgCallbackTargetException propagated exception from the handler 166 * @throws HgCallbackTargetException propagated exception from the handler
167 * @throws HgException subclass thereof to indicate specific issue with the command arguments or repository state 167 * @throws HgException subclass thereof to indicate specific issue with the command arguments or repository state
168 * @throws IOException if there are (further unspecified) errors while walking working copy
168 * @throws CancelledException if execution of the command was cancelled 169 * @throws CancelledException if execution of the command was cancelled
169 * @throws IOException FIXME EXCEPTIONS WTF it's doing here if there are (further unspecified) errors while walking working copy
170 * @throws IllegalArgumentException if handler is <code>null</code> 170 * @throws IllegalArgumentException if handler is <code>null</code>
171 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread) 171 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread)
172 */ 172 */
173 public void execute(HgStatusHandler statusHandler) throws HgCallbackTargetException, HgException, CancelledException, IOException { 173 public void execute(HgStatusHandler statusHandler) throws HgCallbackTargetException, HgException, IOException, CancelledException {
174 if (statusHandler == null) { 174 if (statusHandler == null) {
175 throw new IllegalArgumentException(); 175 throw new IllegalArgumentException();
176 } 176 }
177 if (mediator.busy()) { 177 if (mediator.busy()) {
178 throw new ConcurrentModificationException(); 178 throw new ConcurrentModificationException();