Class BadParamException
Defined in File BadParamException.h
Inheritance Relationships
Base Type
public eprosima::fastcdr::exception::Exception(Class Exception)
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:
ex – BadParamException that will be copied.
-
BadParamException(BadParamException &&ex) noexcept
Default move constructor.
- Parameters:
ex – BadParamException that will be moved.
-
BadParamException &operator=(const BadParamException &ex) noexcept
Assigment operation.
- Parameters:
ex – BadParamException that will be copied.
-
BadParamException &operator=(BadParamException &&ex) noexcept
Assigment operation.
- Parameters:
ex – BadParamException 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.
-
BadParamException(const char *const &message) noexcept