5.1.6. PreconditionNotMet¶
-
class PreconditionNotMet : public eprosima::statistics_backend::Exception¶
Exception to signal that an operation cannot be performed because the preconditions are not met.
Public Functions
-
PreconditionNotMet(const PreconditionNotMet &other) = default¶
Copies the statistics_backend::PreconditionNotMet exception into a new one.
- Parameters
other – The original exception object to copy
-
PreconditionNotMet &operator=(const PreconditionNotMet &other) = default¶
Copies the statistics_backend::PreconditionNotMet exception into the current one.
- Parameters
other – The original statistics_backend::PreconditionNotMet exception to copy
- Returns
the current statistics_backend::PreconditionNotMet exception after the copy
-
Exception(const char *message) noexcept¶
Construct a new statistics_backend::Exception object.
- Parameters
message – The message to be returned by what()
-
Exception(const std::string &message)¶
Construct a new statistics_backend::Exception object.
- Parameters
message – The message to be returned by what()
-
Exception(const Exception &other) = default¶
Copies the statistics_backend::Exception object into a new one.
- Parameters
other – The original exception object to copy
-
PreconditionNotMet(const PreconditionNotMet &other) = default¶