Babel  1
The voip software that only works on your local network
Loading...
Searching...
No Matches
CustomExceptions::ConnectionFailed Class Reference

Exception class for failed connection attempts. More...

#include <Failed.hpp>

Inheritance diagram for CustomExceptions::ConnectionFailed:
Inheritance graph
Collaboration diagram for CustomExceptions::ConnectionFailed:
Collaboration graph

Public Member Functions

 ConnectionFailed (const std::string &address="")
 Construct a new ConnectionFailed object.
 
 ~ConnectionFailed ()
 Destroy the ConnectionFailed object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

Exception class for failed connection attempts.

Definition at line 24 of file Failed.hpp.

Constructor & Destructor Documentation

◆ ConnectionFailed()

CustomExceptions::ConnectionFailed::ConnectionFailed ( const std::string & address = "")

Construct a new ConnectionFailed object.

Parameters
addressThe address the program tried to connect to.

Definition at line 19 of file Failed.cpp.

◆ ~ConnectionFailed()

CustomExceptions::ConnectionFailed::~ConnectionFailed ( )

Destroy the ConnectionFailed object.

Definition at line 28 of file Failed.cpp.

Member Function Documentation

◆ what()

const char * CustomExceptions::ConnectionFailed::what ( ) const
noexcept

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 30 of file Failed.cpp.


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