|
VMime
|
#include <SMTPExceptions.hpp>


Public Member Functions | |
| SMTPCommandError (const string &command, const string &response, const string &desc, const int statusCode, const SMTPResponse::enhancedStatusCode &extendedStatusCode, const exception &other=NO_EXCEPTION) | |
| SMTPCommandError (const string &command, const string &response, const int statusCode, const SMTPResponse::enhancedStatusCode &extendedStatusCode, const exception &other=NO_EXCEPTION) | |
| ~SMTPCommandError () throw () | |
| int | statusCode () const |
| const SMTPResponse::enhancedStatusCode | extendedStatusCode () const |
| exception * | clone () const |
| const char * | name () const throw () |
| Public Member Functions inherited from command_error | |
| 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 |
| 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 () |
Additional Inherited Members | |
| Static Protected Attributes inherited from exception | |
| static const exception | NO_EXCEPTION |
SMTP Command error: a SMTP command failed.
| SMTPCommandError | ( | const string & | command, |
| const string & | response, | ||
| const string & | desc, | ||
| const int | statusCode, | ||
| const SMTPResponse::enhancedStatusCode & | extendedStatusCode, | ||
| const exception & | other = NO_EXCEPTION ) |
References command_error::command(), command_error::command_error(), extendedStatusCode(), exception::other(), command_error::response(), and statusCode().
Referenced by clone().
| SMTPCommandError | ( | const string & | command, |
| const string & | response, | ||
| const int | statusCode, | ||
| const SMTPResponse::enhancedStatusCode & | extendedStatusCode, | ||
| const exception & | other = NO_EXCEPTION ) |
| ~SMTPCommandError | ( | ) | ||||
| throw | ( | ) | ||||
|
virtual |
Clone this object.
Reimplemented from command_error.
References SMTPCommandError().
| const SMTPResponse::enhancedStatusCode extendedStatusCode | ( | ) | const |
Returns the extended status code (following RFC-3463) for this error, if available.
Referenced by SMTPCommandError(), and SMTPCommandError().
|
virtual | ||||||||||||
| int statusCode | ( | ) | const |
Returns the SMTP status code for this error.
Referenced by SMTPCommandError(), and SMTPCommandError().