VMime
|
Public Member Functions | |
invalid_response (const string &command, const string &response, const exception &other=NO_EXCEPTION) | |
~invalid_response () throw () | |
const string & | command () const |
const string & | response () const |
exception * | clone () const |
const char * | name () const throw () |
Public Member Functions inherited from net_exception | |
net_exception (const string &what, const exception &other=NO_EXCEPTION) | |
~net_exception () throw () | |
Public Member Functions inherited from exception | |
exception (const string &what, const exception &other=NO_EXCEPTION) | |
exception (const exception &e) | |
virtual | ~exception () throw () |
void | chainException (const exception &other) |
const exception * | other () const throw () |
The server returned an invalid response.
invalid_response | ( | const string & | command, |
const string & | response, | ||
const exception & | other = NO_EXCEPTION |
||
) |
Referenced by invalid_response::clone().
~invalid_response | ( | ) | ||
throw | ( | |||
) |
|
virtual |
Clone this object.
Reimplemented from net_exception.
References invalid_response::invalid_response().
const string & command | ( | ) | const |
Return the name of the command which have thrown the exception.
This is protocol-dependent.
|
virtual |
const string & response | ( | ) | const |
Return the invalid response line.
The meaning is protocol-dependent.