smtp-client
SMTP Client C Library
|
#include <SMTPMail.h>
Public Member Functions | |
SMTPMailException (enum smtp_status_code status_code) | |
virtual const char *const | what () throw () |
Private Attributes | |
enum smtp_status_code | status_code |
This exception will get thrown whenever an SMTP client function fails.
Definition at line 23 of file SMTPMail.h.
SMTPMailException::SMTPMailException | ( | enum smtp_status_code | status_code | ) |
Create the exception with the corresponding status_code
.
[in] | status_code | An error status code returned from a previous call to an smtp-client library function. |
Definition at line 13 of file SMTPMail.cpp.
References status_code.
Referenced by SMTPMail::throw_bad_status_code().
|
virtual |
Get a description of the smtp-client status code that caused this exception.
Definition at line 18 of file SMTPMail.cpp.
References smtp_status_code_errstr(), and status_code.
Referenced by main().
|
private |
The status code generated by any of the smtp-client library functions.
Definition at line 45 of file SMTPMail.h.
Referenced by SMTPMailException(), and what().