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:
committed by
Adrien Destugues
parent
6c016dc54a
commit
55d6d58d9f
@@ -451,7 +451,6 @@ Response::~Response()
|
|||||||
|
|
||||||
void
|
void
|
||||||
Response::Parse(BDataIO& stream, LiteralHandler* handler)
|
Response::Parse(BDataIO& stream, LiteralHandler* handler)
|
||||||
throw(ParseException, StreamException)
|
|
||||||
{
|
{
|
||||||
MakeEmpty();
|
MakeEmpty();
|
||||||
fLiteralHandler = handler;
|
fLiteralHandler = handler;
|
||||||
@@ -763,7 +762,6 @@ ResponseParser::SetLiteralHandler(LiteralHandler* handler)
|
|||||||
|
|
||||||
status_t
|
status_t
|
||||||
ResponseParser::NextResponse(Response& response, bigtime_t timeout)
|
ResponseParser::NextResponse(Response& response, bigtime_t timeout)
|
||||||
throw(ParseException, StreamException)
|
|
||||||
{
|
{
|
||||||
response.Parse(*fStream, fLiteralHandler);
|
response.Parse(*fStream, fLiteralHandler);
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
@@ -144,8 +144,7 @@ public:
|
|||||||
Response();
|
Response();
|
||||||
~Response();
|
~Response();
|
||||||
|
|
||||||
void Parse(BDataIO& stream, LiteralHandler* handler)
|
void Parse(BDataIO& stream, LiteralHandler* handler);
|
||||||
throw(ParseException, StreamException);
|
|
||||||
|
|
||||||
bool IsUntagged() const { return fTag == 0; }
|
bool IsUntagged() const { return fTag == 0; }
|
||||||
uint32 Tag() const { return fTag; }
|
uint32 Tag() const { return fTag; }
|
||||||
@@ -194,8 +193,7 @@ public:
|
|||||||
void SetLiteralHandler(LiteralHandler* handler);
|
void SetLiteralHandler(LiteralHandler* handler);
|
||||||
|
|
||||||
status_t NextResponse(Response& response,
|
status_t NextResponse(Response& response,
|
||||||
bigtime_t timeout)
|
bigtime_t timeout);
|
||||||
throw(ParseException, StreamException);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ResponseParser(const ResponseParser& other);
|
ResponseParser(const ResponseParser& other);
|
||||||
|
|||||||
Reference in New Issue
Block a user