summaryrefslogtreecommitdiff
path: root/src/RecoverableException.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-29 08:42:58 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-29 08:42:58 +0000
commite82f870fdc3c1a7fc2c0b66a9f623a5386ece3d6 (patch)
tree8b48808e3a23e9ac2fd69ada00990d9d190f110b /src/RecoverableException.h
parent8122399ca746b9bc69dc17a08ea126c791189e4a (diff)
2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed _uris from RequestGroup. All functions that refer to _uris were moved to FileEntry. Exit status code are now defined in DownloadResultCode.h. * src/AbstractCommand.cc * src/AdaptiveURISelector.cc * src/AdaptiveURISelector.h * src/AutoSaveCommand.cc * src/BtPostDownloadHandler.cc * src/CheckIntegrityDispatcherCommand.cc * src/CookieStorage.cc * src/DHTAutoSaveCommand.cc * src/DHTBucketRefreshCommand.cc * src/DHTEntryPointNameResolveCommand.cc * src/DHTInteractionCommand.cc * src/DHTPeerAnnounceCommand.cc * src/DHTTokenUpdateCommand.cc * src/DlAbortEx.h * src/DlRetryEx.h * src/DownloadCommand.cc * src/DownloadContext.h * src/DownloadFailureException.h * src/DownloadResult.h * src/DownloadResultCode.h * src/FeedbackURISelector.cc * src/FeedbackURISelector.h * src/FileEntry.cc * src/FileEntry.h * src/FtpNegotiationCommand.cc * src/HttpListenCommand.cc * src/HttpResponseCommand.cc * src/HttpServerResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/InOrderURISelector.cc * src/InOrderURISelector.h * src/Makefile.am * src/Makefile.in * src/Metalink2RequestGroup.cc * src/MultiUrlRequestInfo.cc * src/MultiUrlRequestInfo.h * src/OptionHandlerFactory.cc * src/PeerListenCommand.cc * src/RecoverableException.h * src/RequestGroup.cc * src/RequestGroup.h * src/RequestGroupMan.cc * src/RequestGroupMan.h * src/TimedHaltCommand.cc * src/TrackerWatcherCommand.cc * src/URIResult.cc * src/URIResult.h * src/URISelector.h * src/XmlRpcMethodImpl.cc * src/bittorrent_helper.cc * src/bittorrent_helper.h * src/download_helper.cc * src/main.cc * src/option_processing.cc * test/BtDependencyTest.cc * test/BtPostDownloadHandlerTest.cc * test/CookieStorageTest.cc * test/DefaultBtMessageDispatcherTest.cc * test/DownloadHandlerFactoryTest.cc * test/DownloadHelperTest.cc * test/FeedbackURISelectorTest.cc * test/FileEntryTest.cc * test/InOrderURISelectorTest.cc * test/Metalink2RequestGroupTest.cc * test/MetalinkPostDownloadHandlerTest.cc * test/RequestGroupManTest.cc * test/RequestGroupTest.cc * test/XmlRpcMethodTest.cc
Diffstat (limited to 'src/RecoverableException.h')
-rw-r--r--src/RecoverableException.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/RecoverableException.h b/src/RecoverableException.h
index a91f2a54..cffe2ac4 100644
--- a/src/RecoverableException.h
+++ b/src/RecoverableException.h
@@ -35,13 +35,13 @@
#ifndef _D_RECOVERABLE_EXCEPTION_H_
#define _D_RECOVERABLE_EXCEPTION_H_
#include "Exception.h"
-#include "DownloadResult.h"
+#include "DownloadResultCode.h"
namespace aria2 {
class RecoverableException:public Exception {
private:
- DownloadResult::RESULT _code;
+ downloadresultcode::RESULT _code;
protected:
virtual SharedHandle<Exception> copy() const
@@ -52,23 +52,23 @@ protected:
public:
RecoverableException(const char* file, int line, const std::string& msg):
Exception(file, line, msg),
- _code(DownloadResult::UNKNOWN_ERROR) {}
+ _code(downloadresultcode::UNKNOWN_ERROR) {}
RecoverableException(const char* file, int line, const std::string& msg,
const Exception& cause):
Exception(file, line, msg, cause),
- _code(DownloadResult::UNKNOWN_ERROR) {}
+ _code(downloadresultcode::UNKNOWN_ERROR) {}
RecoverableException(const char* file, int line,
const RecoverableException& e):
Exception(file, line, e),
- _code(DownloadResult::UNKNOWN_ERROR) {}
+ _code(downloadresultcode::UNKNOWN_ERROR) {}
RecoverableException(const char* file, int line, const std::string& msg,
- DownloadResult::RESULT result):
+ downloadresultcode::RESULT result):
Exception(file, line, msg), _code(result) {}
- DownloadResult::RESULT getCode() const { return _code; }
+ downloadresultcode::RESULT getCode() const { return _code; }
};
} // namespace aria2