AnCH Framework 0.1
Another C++ Hack Framework
Loading...
Searching...
No Matches
anch::network::IOException Class Reference

#include <ioException.hpp>

Inheritance diagram for anch::network::IOException:
Collaboration diagram for anch::network::IOException:

Public Member Functions

 IOException (const std::string &message)
 IOException (const std::string &message, int errorCode)
virtual ~IOException () noexcept
virtual const char * what () const noexcept

Detailed Description

Network input/output error management by exception

Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ IOException() [1/2]

anch::network::IOException::IOException ( const std::string & message)

IOException constructor

Parameters
messageThe error message

◆ IOException() [2/2]

anch::network::IOException::IOException ( const std::string & message,
int errorCode )

IOException constructor

Parameters
messageThe error message
errorCodeThe error code (from getinfoaddr)

◆ ~IOException()

virtual anch::network::IOException::~IOException ( )
virtualnoexcept

IOException destructor

Member Function Documentation

◆ what()

virtual const char * anch::network::IOException::what ( ) const
virtualnoexcept

Return the error message

Returns
The error message
Here is the call graph for this function:

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