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

Exception class for invalid port numbers. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidPort:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidPort:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for invalid port numbers.

Definition at line 54 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidPort()

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

Construct a new InvalidPort object.

Parameters
errorAdditional information about the error.

Definition at line 38 of file Invalid.cpp.

◆ ~InvalidPort()

CustomExceptions::InvalidPort::~InvalidPort ( )

Destroy the InvalidPort object.

Definition at line 47 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 49 of file Invalid.cpp.


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