|
Babel
1
The voip software that only works on your local network
|
Exception class for invalid durations. More...
#include <Invalid.hpp>


Public Member Functions | |
| InvalidDuration (const std::string &duration="", const std::string &min="", const std::string &max="") | |
| Construct a new InvalidDuration object. | |
| ~InvalidDuration () | |
| Destroy the InvalidDuration object. | |
| const char * | what () const noexcept |
| Retrieves the error message. | |
Exception class for invalid durations.
Definition at line 185 of file Invalid.hpp.
| CustomExceptions::InvalidDuration::InvalidDuration | ( | const std::string & | duration = "", |
| const std::string & | min = "", | ||
| const std::string & | max = "" ) |
Construct a new InvalidDuration object.
| duration | The duration provided by the user. |
| min | The minimum allowed duration. |
| max | The maximum allowed duration. |
Definition at line 121 of file Invalid.cpp.
| CustomExceptions::InvalidDuration::~InvalidDuration | ( | ) |
Destroy the InvalidDuration object.
Definition at line 139 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 141 of file Invalid.cpp.