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

Exception class for invalid IP addresses. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidIp:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidIp:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for invalid IP addresses.

Definition at line 28 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidIp()

CustomExceptions::InvalidIp::InvalidIp ( const std::string & error = "")

Construct a new InvalidIp object.

Parameters
errorAdditional information about the error.

Definition at line 18 of file Invalid.cpp.

◆ ~InvalidIp()

CustomExceptions::InvalidIp::~InvalidIp ( )

Destroy the InvalidIp object.

Definition at line 31 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 33 of file Invalid.cpp.


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