This abstract class is used to create exceptions.
More...
#include <Exception.h>
Inherits exception.
Inherited by BadParamException, and NotEnoughMemoryException.
|
virtual Cdr_DllAPI | ~Exception () noexcept |
| Default destructor. More...
|
|
virtual Cdr_DllAPI void | raise () const =0 |
| This function throws the object as exception. More...
|
|
virtual Cdr_DllAPI const char * | what () const noexcept override |
| This function returns the error message. More...
|
|
This abstract class is used to create exceptions.
◆ ~Exception()
◆ Exception() [1/3]
Cdr_DllAPI Exception |
( |
const char *const & |
message | ) |
|
|
protectednoexcept |
Default constructor.
- Parameters
-
message | A error message. This message pointer is copied. |
◆ Exception() [2/3]
Default copy constructor.
- Parameters
-
◆ Exception() [3/3]
Default move constructor.
- Parameters
-
◆ operator=() [1/2]
Assigment operation.
- Parameters
-
◆ operator=() [2/2]
Assigment operation.
- Parameters
-
◆ raise()
virtual Cdr_DllAPI void raise |
( |
| ) |
const |
|
pure virtual |
◆ what()
virtual Cdr_DllAPI const char * what |
( |
| ) |
const |
|
overridevirtualnoexcept |
This function returns the error message.
- Returns
- The error message.
The documentation for this class was generated from the following file: