15 #ifndef _FASTCDR_EXCEPTIONS_BADPARAMEXCEPTION_H_
16 #define _FASTCDR_EXCEPTIONS_BADPARAMEXCEPTION_H_
18 #include "Exception.h"
37 const char*
const& message) noexcept;
79 virtual Cdr_DllAPI
void raise() const;
This class is thrown as an exception when a invalid parameter was being serialized.
Definition: BadParamException.h:28
virtual Cdr_DllAPI void raise() const
This function throws the object as exception.
Cdr_DllAPI BadParamException(const BadParamException &ex) noexcept
Default copy constructor.
static Cdr_DllAPI const char *const BAD_PARAM_MESSAGE_DEFAULT
Default message used in the library.
Definition: BadParamException.h:82
Cdr_DllAPI BadParamException & operator=(const BadParamException &ex) noexcept
Assigment operation.
Cdr_DllAPI BadParamException(const char *const &message) noexcept
Default constructor.
virtual Cdr_DllAPI ~BadParamException() noexcept
Default constructor.
This abstract class is used to create exceptions.
Definition: Exception.h:30