comparison src/org/tmatesoft/hg/core/HgDataStreamException.java @ 366:189dc6dc1c3e

Use exceptions to expose errors reading mercurial data
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Dec 2011 04:43:18 +0100
parents 6d1804fe0ed7
children 2fadf8695f8a
comparison
equal deleted inserted replaced
365:3572fcb06473 366:189dc6dc1c3e
18 18
19 import org.tmatesoft.hg.repo.HgDataFile; 19 import org.tmatesoft.hg.repo.HgDataFile;
20 import org.tmatesoft.hg.util.Path; 20 import org.tmatesoft.hg.util.Path;
21 21
22 /** 22 /**
23 * Any erroneous state with @link {@link HgDataFile} input/output, read/write operations 23 * Any erroneous state with @link {@link HgDataFile} input/output, read/write operations
24 * FIXME/REVISIT if HgInvalidControlFileExceptio and HgInvalidFileException is not sufficient? Is there real need for all 3?
24 * 25 *
25 * @author Artem Tikhomirov 26 * @author Artem Tikhomirov
26 * @author TMate Software Ltd. 27 * @author TMate Software Ltd.
27 */ 28 */
28 @SuppressWarnings("serial") 29 @SuppressWarnings("serial")