5.1.2. CorruptedFile

class CorruptedFile : public eprosima::statistics_backend::Exception

Exception to signal that a file with an unexpected format has been loaded.

Public Functions

CorruptedFile(const CorruptedFile &other) = default

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

Parameters

other – The original exception object to copy

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

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

Parameters

other – The original statistics_backend::CorruptedFile exception to copy

Returns

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