libepp_nicbr
Public Types | Public Member Functions | List of all members
TransportException Class Reference

Transport Exception Class. More...

#include <TransportException.H>

Inheritance diagram for TransportException:
GeneralException

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...
 
- Public Member Functions inherited from GeneralException
 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

- Protected Attributes inherited from GeneralException
int _code
 Exception Code.
 
string _msg
 Exception Message.
 
string _low_level_msg
 Low Level Message.
 

Detailed Description

Transport Exception Class.

Constructor & Destructor Documentation

TransportException::TransportException ( const ExceptionCode code,
const string &  msg,
const string &  low_level_msg = "" 
)
inline

Construtor.

Parameters
codeException Code
msgException Message
low_level_msgOptional message returned by inner libraries (openssl)

The documentation for this class was generated from the following file: