|
VMime
|


Public Member Functions | |
| command_error (const string &command, const string &response, const string &desc="", const exception &other=NO_EXCEPTION) | |
| ~command_error () 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 () |
Command error: operation failed (this is specific to the underlying protocol).
| command_error | ( | const string & | command, |
| const string & | response, | ||
| const string & | desc = "", |
||
| const exception & | other = NO_EXCEPTION |
||
| ) |
Referenced by command_error::clone().
| ~command_error | ( | ) | ||
| throw | ( | |||
| ) | ||||
|
virtual |
Clone this object.
Reimplemented from net_exception.
Reimplemented in SMTPCommandError.
References command_error::command_error().
| const string & command | ( | ) | const |
Return the name of the command which have thrown the exception.
This is protocol-dependent.
|
virtual | |||||||||||||
Return a name identifying the exception.
Reimplemented from net_exception.
Reimplemented in SMTPCommandError.
| const string & response | ( | ) | const |
Return the invalid response line.
The meaning is protocol-dependent.
Referenced by POP3Message::extract(), and POP3Message::fetchPartHeader().