diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.cpp index 1458badaa9..3d5eb7e8c1 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.cpp @@ -451,7 +451,6 @@ Response::~Response() void Response::Parse(BDataIO& stream, LiteralHandler* handler) - throw(ParseException, StreamException) { MakeEmpty(); fLiteralHandler = handler; @@ -763,7 +762,6 @@ ResponseParser::SetLiteralHandler(LiteralHandler* handler) status_t ResponseParser::NextResponse(Response& response, bigtime_t timeout) - throw(ParseException, StreamException) { response.Parse(*fStream, fLiteralHandler); return B_OK; diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.h b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.h index 28305d9b70..fbfe2f98b2 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.h +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Response.h @@ -144,8 +144,7 @@ public: Response(); ~Response(); - void Parse(BDataIO& stream, LiteralHandler* handler) - throw(ParseException, StreamException); + void Parse(BDataIO& stream, LiteralHandler* handler); bool IsUntagged() const { return fTag == 0; } uint32 Tag() const { return fTag; } @@ -194,8 +193,7 @@ public: void SetLiteralHandler(LiteralHandler* handler); status_t NextResponse(Response& response, - bigtime_t timeout) - throw(ParseException, StreamException); + bigtime_t timeout); private: ResponseParser(const ResponseParser& other);