Thrown when a referenced schedule does not exist.
More...
#include <CustomExceptions.hpp>
|
| | ScheduleNotExistentException () |
| | Constructs the exception with a default message indicating a schedule does not exist.
|
| | ScheduleNotExistentException (std::string_view const scheduleName) |
| | Constructs an exception for a schedule that does not exist.
|
| | ScheduleNotExistentException (size_t const scheduleId) |
| | Constructs an exception for a missing schedule identified by ID.
|
| const char * | what () const noexcept override |
| | Provides the error message stored in this exception.
|
|
| | CustomException (std::string_view const message) |
| | Constructs the exception with a custom error message.
|
Thrown when a referenced schedule does not exist.
◆ ScheduleNotExistentException() [1/3]
| cda_rail::exceptions::ScheduleNotExistentException::ScheduleNotExistentException |
( |
| ) |
|
|
inline |
Constructs the exception with a default message indicating a schedule does not exist.
◆ ScheduleNotExistentException() [2/3]
| cda_rail::exceptions::ScheduleNotExistentException::ScheduleNotExistentException |
( |
std::string_view const | scheduleName | ) |
|
|
inlineexplicit |
Constructs an exception for a schedule that does not exist.
- Parameters
-
| scheduleName | Name of the schedule that was not found. |
◆ ScheduleNotExistentException() [3/3]
| cda_rail::exceptions::ScheduleNotExistentException::ScheduleNotExistentException |
( |
size_t const | scheduleId | ) |
|
|
inlineexplicit |
Constructs an exception for a missing schedule identified by ID.
- Parameters
-
| scheduleId | The ID of the schedule. |
The documentation for this class was generated from the following file: