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 46 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 43 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 72 of file socket_exception.h.

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

Definition at line 73 of file socket_exception.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12