mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't catch Exception. * src/RealtimeCommand.cc
This commit is contained in:
parent
1d77c67f1b
commit
af33f67fee
@ -1,3 +1,8 @@
|
||||
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Don't catch Exception.
|
||||
* src/RealtimeCommand.cc
|
||||
|
||||
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Removed unused includes.
|
||||
|
@ -34,7 +34,7 @@
|
||||
/* copyright --> */
|
||||
#include "RealtimeCommand.h"
|
||||
#include "DownloadEngine.h"
|
||||
#include "Exception.h"
|
||||
#include "RecoverableException.h"
|
||||
#include "RequestGroup.h"
|
||||
|
||||
namespace aria2 {
|
||||
@ -61,7 +61,7 @@ bool RealtimeCommand::execute()
|
||||
e_->setNoWait(true);
|
||||
try {
|
||||
return executeInternal();
|
||||
} catch(Exception& e) {
|
||||
} catch(RecoverableException& e) {
|
||||
bool r = handleException(e);
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user