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

Cdr_DllAPI BadParamException(const char *const &message) noexcept

Default constructor.

Parameters:

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

Cdr_DllAPI BadParamException(const BadParamException &ex) noexcept

Default copy constructor.

Parameters:

exBadParamException that will be copied.

Cdr_DllAPI BadParamException(BadParamException &&ex) noexcept

Default move constructor.

Parameters:

exBadParamException that will be moved.

Cdr_DllAPI 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 Cdr_DllAPI ~BadParamException() noexcept

Default destructor.

virtual Cdr_DllAPI void raise () const override

This function throws the object as exception.

Public Static Attributes

static Cdr_DllAPI const char *const BAD_PARAM_MESSAGE_DEFAULT

Default message used in the library.