libepp_nicbr
|
Transport Exception Class. More...
#include <TransportException.H>
Public Types | |
enum | ExceptionCode { BIO_DO_CONNECT_ERR = 1000, LOST_CONNECTION = 1001, SSL_NEW_ERR = 1002, SSL_CONNECT_ERR = 1003, SSL_READ_ERR = 1004, SSL_WRITE_ERR = 1005, READ_TIMEOUT = 1006, WRITE_TIMEOUT = 1007, MISSING_TOTAL_LENGTH = 1008, INVALID_TOTAL_LENGTH = 1009, PAYLOAD_INCOMPLETE = 1010, LOAD_CERT_FILE_ERR = 1011, LOAD_KEY_FILE_ERR = 1012, GET_FNCTL_ERR = 1013, SET_NONBLOCKING_ERR = 1014, LOAD_ROOTCA_FILE_ERR = 1015, PEER_CERTIFICATE_CN_ERR = 1016 } |
Transport Exception Code. | |
Public Member Functions | |
TransportException (const ExceptionCode &code, const string &msg, const string &low_level_msg="") | |
Construtor. More... | |
![]() | |
GeneralException (const int code, const string &msg, const string &low_level_msg="") | |
Constructor. More... | |
int | get_code () const |
Returns the Exception Code. More... | |
string | get_msg () const |
Returns the Exception Message. More... | |
string | get_low_level_msg () const |
Return Low Level Error Message. More... | |
Additional Inherited Members | |
![]() | |
int | _code |
Exception Code. | |
string | _msg |
Exception Message. | |
string | _low_level_msg |
Low Level Message. | |
Transport Exception Class.
|
inline |
Construtor.
code | Exception Code |
msg | Exception Message |
low_level_msg | Optional message returned by inner libraries (openssl) |