This class is thrown as an exception when a invalid parameter was being serialized. More...
#include <BadParamException.h>

Public Member Functions | |
| Cdr_DllAPI | BadParamException (const char *const &message) noexcept |
| Default constructor. More... | |
| Cdr_DllAPI | BadParamException (const BadParamException &ex) noexcept |
| Default copy constructor. More... | |
| Cdr_DllAPI BadParamException & | operator= (const BadParamException &ex) noexcept |
| Assigment operation. More... | |
| virtual Cdr_DllAPI void | raise () const |
| This function throws the object as exception. More... | |
| virtual Cdr_DllAPI | ~BadParamException () noexcept |
| Default constructor. More... | |
Public Member Functions inherited from eprosima::fastcdr::exception::Exception | |
| virtual Cdr_DllAPI const char * | what () const noexcept override |
| This function returns the error message. More... | |
| virtual Cdr_DllAPI | ~Exception () noexcept |
| Default destructor. More... | |
Static Public Attributes | |
| static Cdr_DllAPI const char *const | BAD_PARAM_MESSAGE_DEFAULT = "Bad parameter" |
| Default message used in the library. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from eprosima::fastcdr::exception::Exception | |
| Cdr_DllAPI | Exception (const char *const &message) noexcept |
| Default constructor. More... | |
| Cdr_DllAPI | Exception (const Exception &ex) noexcept |
| Default copy constructor. More... | |
| Cdr_DllAPI Exception & | operator= (const Exception &ex) noexcept |
| Assigment operation. More... | |
This class is thrown as an exception when a invalid parameter was being serialized.
Definition at line 27 of file BadParamException.h.
|
noexcept |
Default constructor.
| message | A error message. This message pointer is copied. |
Definition at line 21 of file BadParamException.cpp.
|
noexcept |
Default copy constructor.
| ex | BadParamException that will be copied. |
Definition at line 27 of file BadParamException.cpp.
|
virtualnoexcept |
Default constructor.
Definition at line 69 of file BadParamException.cpp.
|
noexcept |
Assigment operation.
| ex | BadParamException that will be copied. |
Definition at line 42 of file BadParamException.cpp.
|
virtual |
This function throws the object as exception.
Implements eprosima::fastcdr::exception::Exception.
Definition at line 73 of file BadParamException.cpp.
|
static |
Default message used in the library.
Definition at line 82 of file BadParamException.h.