7 #ifndef __TRANSPORT_EXCEPTION_H__
8 #define __TRANSPORT_EXCEPTION_H__
22 BIO_DO_CONNECT_ERR = 1000,
23 LOST_CONNECTION = 1001,
25 SSL_CONNECT_ERR = 1003,
30 MISSING_TOTAL_LENGTH = 1008,
31 INVALID_TOTAL_LENGTH = 1009,
32 PAYLOAD_INCOMPLETE = 1010,
33 LOAD_CERT_FILE_ERR = 1011,
34 LOAD_KEY_FILE_ERR = 1012,
36 SET_NONBLOCKING_ERR = 1014,
37 LOAD_ROOTCA_FILE_ERR = 1015,
38 PEER_CERTIFICATE_CN_ERR = 1016
48 const string &low_level_msg =
"") :
56 #endif //__TRANSPORT_EXCEPTION_H__
Transport Exception Class.
Definition: TransportException.H:17
General Exception Class.
Definition: GeneralException.H:19
TransportException(const ExceptionCode &code, const string &msg, const string &low_level_msg="")
Construtor.
Definition: TransportException.H:47
ExceptionCode
Transport Exception Code.
Definition: TransportException.H:21