5.1.1. BadParameter

class BadParameter : public eprosima::statistics_backend::Exception

Exception to signal that an operation has been called with an invalid parameter.

Public Functions

BadParameter(const BadParameter &other) = default

Copies the statistics_backend::BadParameter exception into a new one.

Parameters

other – The original exception object to copy

BadParameter &operator=(const BadParameter &other) = default

Copies the statistics_backend::BadParameter exception into the current one.

Parameters

other – The original statistics_backend::BadParameter exception to copy

Returns

the current statistics_backend::BadParameter 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