This class is thrown as an exception when a invalid parameter was being serialized. More...
#include <BadParamException.h>
Public Member Functions | |
BadParamException (const char *const &message) noexcept | |
Default constructor. More... | |
BadParamException (const BadParamException &ex) noexcept | |
Default copy constructor. More... | |
BadParamException & | operator= (const BadParamException &ex) noexcept |
Assigment operation. More... | |
virtual | ~BadParamException () noexcept |
Default constructor. More... | |
virtual void | raise () const |
This function throws the object as exception. More... | |
![]() | |
virtual | ~Exception () noexcept |
Default destructor. More... | |
virtual const char * | what () const noexcept override |
This function returns the error message. More... | |
Static Public Attributes | |
static const char *const | BAD_PARAM_MESSAGE_DEFAULT |
Default message used in the library. More... | |
Additional Inherited Members | |
![]() | |
Exception (const char *const &message) noexcept | |
Default constructor. More... | |
Exception (const Exception &ex) noexcept | |
Default copy constructor. More... | |
Exception & | operator= (const Exception &ex) noexcept |
Assigment operation. More... | |
This class is thrown as an exception when a invalid parameter was being serialized.
|
noexcept |
Default constructor.
message | A error message. This message pointer is copied. |
|
noexcept |
Default copy constructor.
ex | BadParamException that will be copied. |
|
virtualnoexcept |
Default constructor.
|
noexcept |
Assigment operation.
ex | BadParamException that will be copied. |
|
virtual |
This function throws the object as exception.
Implements Exception.
|
static |
Default message used in the library.