This abstract class is used to create exceptions. More...
#include <Exception.h>
Inherited by BadOptionalAccessException, BadParamException, LockedExternalAccessException, and NotEnoughMemoryException.
Public Member Functions | |
| virtual | ~Exception () noexcept |
| Default destructor. More... | |
| virtual void | raise () const =0 |
| This function throws the object as exception. More... | |
| virtual const char * | what () const noexcept |
| This function returns the error message. More... | |
Protected Member Functions | |
| Exception (const char *const &message) noexcept | |
| Default constructor. More... | |
| Exception (const Exception &ex) noexcept | |
| Default copy constructor. More... | |
| Exception (Exception &&ex) noexcept | |
| Default move constructor. More... | |
| Exception & | operator= (const Exception &ex) noexcept |
| Assigment operation. More... | |
| Exception & | operator= (Exception &&ex) noexcept |
| Assigment operation. More... | |
This abstract class is used to create exceptions.
|
virtualnoexcept |
Default destructor.
|
protectednoexcept |
Default constructor.
| message | A error message. This message pointer is copied. |
Default copy constructor.
| ex | Exception that will be copied. |
Default move constructor.
| ex | Exception that will be moved. |
Assigment operation.
| ex | Exception that will be copied. |
Assigment operation.
| ex | Exception that will be moved. |
|
pure virtual |
This function throws the object as exception.
Implemented in BadOptionalAccessException, BadParamException, LockedExternalAccessException, and NotEnoughMemoryException.
|
virtualnoexcept |
This function returns the error message.