Class BadParamException

Inheritance Relationships

Base Type

Class Documentation

class BadParamException : public eprosima::fastcdr::exception::Exception

This class is thrown as an exception when an invalid parameter is being serialized.

Public Functions

BadParamException(const char *const &message) noexcept

Default constructor.

Parameters:

message – An error message. This message pointer is copied.

BadParamException(const BadParamException &ex) noexcept

Default copy constructor.

Parameters:

exBadParamException that will be copied.

BadParamException(BadParamException &&ex) noexcept

Default move constructor.

Parameters:

exBadParamException that will be moved.

BadParamException &operator=(const BadParamException &ex) noexcept

Assigment operation.

Parameters:

exBadParamException that will be copied.

BadParamException &operator=(BadParamException &&ex) noexcept

Assigment operation.

Parameters:

exBadParamException that will be moved.

virtual ~BadParamException() noexcept

Default destructor.

virtual void raise() const override

This function throws the object as exception.

Public Static Attributes

static const char *const BAD_PARAM_MESSAGE_DEFAULT

Default message used in the library.