mail_daemon/inbound_protocols/imap: Fix dynamic exception specifications

Remove dynamic exception specifications from Responce.c,
since Protocol::HandleResponse() handled exception handling
for ResponseParser::NextResponse() and Response::Parse().

Change-Id: I32e5cf976de765df2c8b5ca99eeaa80c57dbf254
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3384
Reviewed-by: Axel Dörfler <[email protected]>
This commit is contained in:
Murai Takashi
2020-11-15 20:08:15 +00:00
committed by Adrien Destugues
parent 6c016dc54a
commit 55d6d58d9f
2 changed files with 2 additions and 6 deletions
@@ -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;
@@ -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);