20 "Bad optional access: value not set";
23 const char*
const& message) noexcept
This class is thrown as an exception when accessing the value of a null optional.
virtual Cdr_DllAPI ~BadOptionalAccessException() noexcept
Default destructor.
static Cdr_DllAPI const char *const BAD_OPTIONAL_ACCESS_MESSAGE_DEFAULT
Default message used in the library.
Cdr_DllAPI void raise() const override
This function throws the object as exception.
Cdr_DllAPI BadOptionalAccessException(const char *const &message) noexcept
Default constructor.
Cdr_DllAPI BadOptionalAccessException & operator=(const BadOptionalAccessException &ex) noexcept
Assigment operation.
This abstract class is used to create exceptions.
Cdr_DllAPI Exception & operator=(const Exception &ex) noexcept
Assigment operation.