summaryrefslogtreecommitdiff
path: root/src/PeerAbstractCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PeerAbstractCommand.h')
-rw-r--r--src/PeerAbstractCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PeerAbstractCommand.h b/src/PeerAbstractCommand.h
index 61ad3801..0aed6824 100644
--- a/src/PeerAbstractCommand.h
+++ b/src/PeerAbstractCommand.h
@@ -39,7 +39,7 @@
#include "Request.h"
#include "TorrentDownloadEngine.h"
#include "TimeA2.h"
-#include "RecoverableException.h"
+#include "Exception.h"
class PeerAbstractCommand : public BtContextAwareCommand {
private:
@@ -53,7 +53,7 @@ protected:
void setTimeout(int timeout) { this->timeout = timeout; }
virtual bool prepareForNextPeer(int wait);
virtual bool prepareForRetry(int wait);
- virtual void onAbort(RecoverableException* ex);
+ virtual void onAbort(Exception* ex);
virtual bool executeInternal() = 0;
void setReadCheckSocket(const SocketHandle& socket);
void setWriteCheckSocket(const SocketHandle& socket);