NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
websocketpp::exception Class Reference

#include <error.hpp>

Inheritance diagram for websocketpp::exception:
Collaboration diagram for websocketpp::exception:

Public Member Functions

 exception (std::string const &msg, lib::error_code ec=make_error_code(error::general))
 
 exception (lib::error_code ec)
 
 ~exception () throw ()
 
virtual char const * what () const throw ()
 
lib::error_code code () const throw ()
 

Public Attributes

const std::string m_msg
 
lib::error_code m_code
 

Detailed Description

Definition at line 251 of file error.hpp.

Constructor & Destructor Documentation

websocketpp::exception::exception ( std::string const &  msg,
lib::error_code  ec = make_error_code(error::general) 
)
inline

Definition at line 253 of file error.hpp.

websocketpp::exception::exception ( lib::error_code  ec)
inlineexplicit

Definition at line 257 of file error.hpp.

websocketpp::exception::~exception ( )
throw (
)
inline

Definition at line 261 of file error.hpp.

Member Function Documentation

virtual char const* websocketpp::exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 263 of file error.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), main(), and telemetry_server::run().

lib::error_code websocketpp::exception::code ( ) const
throw (
)
inline

Definition at line 267 of file error.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

Member Data Documentation

const std::string websocketpp::exception::m_msg

Definition at line 271 of file error.hpp.

lib::error_code websocketpp::exception::m_code

Definition at line 272 of file error.hpp.


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