This class is thrown as an exception when the buffer's internal memory reachs its size limit. More...
#include <NotEnoughMemoryException.h>
Inherits Exception.
Public Member Functions | |
| NotEnoughMemoryException (const char *const &message) noexcept | |
| Default constructor. | |
| NotEnoughMemoryException (const NotEnoughMemoryException &ex) noexcept | |
| Default copy constructor. | |
| NotEnoughMemoryException (NotEnoughMemoryException &&ex) noexcept | |
| Default move constructor. | |
| NotEnoughMemoryException & | operator= (const NotEnoughMemoryException &ex) noexcept |
| Assigment operation. | |
| NotEnoughMemoryException & | operator= (NotEnoughMemoryException &&ex) noexcept |
| Assigment operation. | |
| virtual | ~NotEnoughMemoryException () noexcept |
| Default destructor. | |
| void | raise () const override |
| This function throws the object as exception. | |
Public Member Functions inherited from Exception | |
| virtual | ~Exception () noexcept |
| Default destructor. | |
| virtual const char * | what () const noexcept |
| This function returns the error message. | |
Static Public Attributes | |
| static const char *const | NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT |
| Default message used in the library. | |
Additional Inherited Members | |
Protected Member Functions inherited from Exception | |
| Exception (const char *const &message) noexcept | |
| Default constructor. | |
| Exception (const Exception &ex) noexcept | |
| Default copy constructor. | |
| Exception (Exception &&ex) noexcept | |
| Default move constructor. | |
| Exception & | operator= (const Exception &ex) noexcept |
| Assigment operation. | |
| Exception & | operator= (Exception &&ex) noexcept |
| Assigment operation. | |
This class is thrown as an exception when the buffer's internal memory reachs its size limit.
|
noexcept |
Default constructor.
| message | An error message. This message pointer is copied. |
|
noexcept |
Default copy constructor.
| ex | NotEnoughMemoryException that will be copied. |
|
noexcept |
Default move constructor.
| ex | NotEnoughMemoryException that will be moved. |
|
virtualnoexcept |
Default destructor.
|
noexcept |
Assigment operation.
| ex | NotEnoughMemoryException that will be copied. |
|
noexcept |
Assigment operation.
| ex | NotEnoughMemoryException that will be moved. |
|
overridevirtual |
This function throws the object as exception.
Implements Exception.
|
static |
Default message used in the library.