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. |
Transport Exception Class.
TransportException::TransportException | ( | const ExceptionCode & | code, | |
const string & | msg, | |||
const string & | low_level_msg = "" | |||
) | [inline] |
Construtor.
code | Exception Code | |
msg | Exception Message | |
low_level_msg | Optional message returned by inner libraries (openssl) |