diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-28 17:29:32 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-28 17:29:32 +0900 |
| commit | ecbc05012ce252c03a5685ee4f0fd2b93b1fda25 (patch) | |
| tree | 7c16be7b845b74fa70e72efbc53595ec6cddd6dc /src/HttpResponseCommand.cc | |
| parent | d316a00adeec3dd362d58a1456231a6673226378 (diff) | |
Added additional error_code::Values(9 through 14).
Diffstat (limited to 'src/HttpResponseCommand.cc')
| -rw-r--r-- | src/HttpResponseCommand.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index daea80ba..952ed8c1 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -213,9 +213,10 @@ bool HttpResponseCommand::executeInternal() getRequestGroup()->preDownloadProcessing(); if(getDownloadEngine()->getRequestGroupMan()-> isSameFileBeingDownloaded(getRequestGroup())) { - throw DOWNLOAD_FAILURE_EXCEPTION + throw DOWNLOAD_FAILURE_EXCEPTION2 (fmt(EX_DUPLICATE_FILE_DOWNLOAD, - getRequestGroup()->getFirstFilePath().c_str())); + getRequestGroup()->getFirstFilePath().c_str()), + error_code::DUPLICATE_DOWNLOAD); } // update last modified time updateLastModifiedTime(httpResponse->getLastModifiedTime()); |
