mirror of https://github.com/aria2/aria2
				
				
				
			2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't catch Exception. * src/RealtimeCommand.ccpull/1/head
							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>
 | 
					2010-11-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Removed unused includes.
 | 
						Removed unused includes.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@
 | 
				
			||||||
/* copyright --> */
 | 
					/* copyright --> */
 | 
				
			||||||
#include "RealtimeCommand.h"
 | 
					#include "RealtimeCommand.h"
 | 
				
			||||||
#include "DownloadEngine.h"
 | 
					#include "DownloadEngine.h"
 | 
				
			||||||
#include "Exception.h"
 | 
					#include "RecoverableException.h"
 | 
				
			||||||
#include "RequestGroup.h"
 | 
					#include "RequestGroup.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace aria2 {
 | 
					namespace aria2 {
 | 
				
			||||||
| 
						 | 
					@ -61,7 +61,7 @@ bool RealtimeCommand::execute()
 | 
				
			||||||
  e_->setNoWait(true);
 | 
					  e_->setNoWait(true);
 | 
				
			||||||
  try {
 | 
					  try {
 | 
				
			||||||
    return executeInternal();
 | 
					    return executeInternal();
 | 
				
			||||||
  } catch(Exception& e) {
 | 
					  } catch(RecoverableException& e) {
 | 
				
			||||||
    bool r =  handleException(e);
 | 
					    bool r =  handleException(e);
 | 
				
			||||||
    return r;
 | 
					    return r;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue