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

Exception class for missing files. More...

#include <NotFound.hpp>

Inheritance diagram for CustomExceptions::FileNotFound:
Inheritance graph
Collaboration diagram for CustomExceptions::FileNotFound:
Collaboration graph

Public Member Functions

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

Detailed Description

Exception class for missing files.

Definition at line 25 of file NotFound.hpp.

Constructor & Destructor Documentation

◆ FileNotFound()

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

Construct a new FileNotFound object.

Parameters
errorAdditional information about the error.

Definition at line 18 of file NotFound.cpp.

◆ ~FileNotFound()

CustomExceptions::FileNotFound::~FileNotFound ( )

Destroy the FileNotFound object.

Definition at line 26 of file NotFound.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 28 of file NotFound.cpp.


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