5.1.3. Error

class Error : public eprosima::statistics_backend::Exception

Exception to signal a generic error that falls in no other specific category.

Public Functions

Error(const Error &other) = default

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

Parameters

other – The original exception object to copy

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

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

Parameters

other – The original statistics_backend::Error exception to copy

Returns

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