Public Member Functions | List of all members
rcdiscover::NetworkUnreachableException Class Reference

Exception representing a Network Unreachable error (code 101 on Unix). More...

#include <socket_exception.h>

Inheritance diagram for rcdiscover::NetworkUnreachableException:
Inheritance graph
[legend]

Public Member Functions

 NetworkUnreachableException (const std::string &msg, int errnum)
 Constructor. More...
 
virtual ~NetworkUnreachableException ()=default
 
- Public Member Functions inherited from rcdiscover::SocketException
int get_error_code () const noexcept
 Returns error code. More...
 
 SocketException (const std::string &msg, int errnum)
 Constructor. More...
 
virtual const char * what () const noexceptoverride
 Returns error message. More...
 
virtual ~SocketException ()=default
 

Detailed Description

Exception representing a Network Unreachable error (code 101 on Unix).

Definition at line 79 of file socket_exception.h.

Constructor & Destructor Documentation

rcdiscover::NetworkUnreachableException::NetworkUnreachableException ( const std::string &  msg,
int  errnum 
)

Constructor.

Parameters
msgerror message
errnumerror code

Definition at line 57 of file socket_exception.cc.

virtual rcdiscover::NetworkUnreachableException::~NetworkUnreachableException ( )
virtualdefault

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


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Sun Apr 18 2021 02:16:32