Fast CDR  Version 1.0.23
Fast CDR
BadParamException Class Reference

This class is thrown as an exception when a invalid parameter was being serialized. More...

#include <BadParamException.h>

Inheritance diagram for BadParamException:

Public Member Functions

 BadParamException (const char *const &message) noexcept
 Default constructor. More...
 
 BadParamException (const BadParamException &ex) noexcept
 Default copy constructor. More...
 
BadParamExceptionoperator= (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...
 
- Public Member Functions inherited from Exception
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

- Protected Member Functions inherited from Exception
 Exception (const char *const &message) noexcept
 Default constructor. More...
 
 Exception (const Exception &ex) noexcept
 Default copy constructor. More...
 
Exceptionoperator= (const Exception &ex) noexcept
 Assigment operation. More...
 

Detailed Description

This class is thrown as an exception when a invalid parameter was being serialized.

Constructor & Destructor Documentation

◆ BadParamException() [1/2]

BadParamException ( const char *const &  message)
noexcept

Default constructor.

Parameters
messageA error message. This message pointer is copied.

◆ BadParamException() [2/2]

BadParamException ( const BadParamException ex)
noexcept

Default copy constructor.

Parameters
exBadParamException that will be copied.

◆ ~BadParamException()

virtual ~BadParamException ( )
virtualnoexcept

Default constructor.

Member Function Documentation

◆ operator=()

BadParamException& operator= ( const BadParamException ex)
noexcept

Assigment operation.

Parameters
exBadParamException that will be copied.

◆ raise()

virtual void raise ( ) const
virtual

This function throws the object as exception.

Implements Exception.

Member Data Documentation

◆ BAD_PARAM_MESSAGE_DEFAULT

const char* const BAD_PARAM_MESSAGE_DEFAULT
static

Default message used in the library.


The documentation for this class was generated from the following file: