Public Member Functions | Private Attributes
rc::dynamics::SocketException Class Reference

Exception representing an invalid socket operation. More...

#include <socket_exception.h>

List of all members.

Public Member Functions

int get_error_code () const noexcept
 Returns error code.
 SocketException (const std::string &msg, int errnum)
 Constructor.
virtual const char * what () const noexcept override
 Returns error message.
virtual ~SocketException ()

Private Attributes

const int errnum_
const std::string msg_

Detailed Description

Exception representing an invalid socket operation.

Definition at line 45 of file socket_exception.h.


Constructor & Destructor Documentation

rc::dynamics::SocketException::SocketException ( const std::string &  msg,
int  errnum 
)

Constructor.

Parameters:
msgerror message
errnumerror code

Definition at line 44 of file socket_exception.cc.


Member Function Documentation

Returns error code.

Returns:
error code

Definition at line 54 of file socket_exception.cc.

const char * rc::dynamics::SocketException::what ( ) const [override, virtual]

Returns error message.

Returns:
error message

Definition at line 49 of file socket_exception.cc.


Member Data Documentation

Definition at line 70 of file socket_exception.h.

const std::string rc::dynamics::SocketException::msg_ [private]

Definition at line 71 of file socket_exception.h.


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


rc_dynamics_api
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Endres
autogenerated on Thu May 9 2019 02:13:50