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