Thrown when a referenced edge does not exist.
More...
#include <CustomExceptions.hpp>
|
| | EdgeNotExistentException () |
| | Constructs with a generic edge-not-found message.
|
| | EdgeNotExistentException (std::string_view const edgeName) |
| | Raised when an edge with the specified name does not exist.
|
| | EdgeNotExistentException (size_t const edgeId) |
| | Creates an exception for an edge that does not exist, identified by its ID.
|
| | EdgeNotExistentException (size_t const source, size_t const target) |
| | Exception for a missing edge between two vertices.
|
| | EdgeNotExistentException (const std::string_view source, const std::string_view target) |
| | Creates an exception for a missing edge between two named vertices.
|
| 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 edge does not exist.
◆ EdgeNotExistentException() [1/5]
| cda_rail::exceptions::EdgeNotExistentException::EdgeNotExistentException |
( |
| ) |
|
|
inline |
Constructs with a generic edge-not-found message.
◆ EdgeNotExistentException() [2/5]
| cda_rail::exceptions::EdgeNotExistentException::EdgeNotExistentException |
( |
std::string_view const | edgeName | ) |
|
|
inlineexplicit |
Raised when an edge with the specified name does not exist.
- Parameters
-
| edgeName | The name of the edge that was not found. |
◆ EdgeNotExistentException() [3/5]
| cda_rail::exceptions::EdgeNotExistentException::EdgeNotExistentException |
( |
size_t const | edgeId | ) |
|
|
inlineexplicit |
Creates an exception for an edge that does not exist, identified by its ID.
◆ EdgeNotExistentException() [4/5]
| cda_rail::exceptions::EdgeNotExistentException::EdgeNotExistentException |
( |
size_t const | source, |
|
|
size_t const | target ) |
|
inlineexplicit |
Exception for a missing edge between two vertices.
- Parameters
-
| source | Source vertex ID. |
| target | Target vertex ID. |
◆ EdgeNotExistentException() [5/5]
| cda_rail::exceptions::EdgeNotExistentException::EdgeNotExistentException |
( |
const std::string_view | source, |
|
|
const std::string_view | target ) |
|
inlineexplicit |
Creates an exception for a missing edge between two named vertices.
The documentation for this class was generated from the following file: