Mercurial > hg4j
diff src/org/tmatesoft/hg/core/HgDataStreamException.java @ 396:0ae53c32ecef
Straighten out exceptions thrown when file access failed - three is too much
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 23 Feb 2012 01:06:24 +0100 |
parents | 2fadf8695f8a |
children |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgDataStreamException.java Wed Feb 22 16:54:34 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgDataStreamException.java Thu Feb 23 01:06:24 2012 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 TMate Software Ltd + * Copyright (c) 2011-2012 TMate Software Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,12 +21,14 @@ /** * Any erroneous state with @link {@link HgDataFile} input/output, read/write operations - * FIXME/REVISIT if HgInvalidControlFileExceptio and HgInvalidFileException is not sufficient? Is there real need for all 3? + * + * @deprecated {@link HgInvalidControlFileException} and {@link HgInvalidFileException} deemed sufficient * * @author Artem Tikhomirov * @author TMate Software Ltd. */ @SuppressWarnings("serial") +@Deprecated public class HgDataStreamException extends HgException { public HgDataStreamException(Path file, String message, Throwable cause) {