This class is thrown as an exception when the buffer's internal memory reachs its size limit. More...
#include <NotEnoughMemoryException.h>
Public Member Functions | |
NotEnoughMemoryException (const char *const &message) noexcept | |
Default constructor. More... | |
NotEnoughMemoryException (const NotEnoughMemoryException &ex) noexcept | |
Default copy constructor. More... | |
NotEnoughMemoryException & | operator= (const NotEnoughMemoryException &ex) noexcept |
Assigment operation. More... | |
virtual | ~NotEnoughMemoryException () noexcept |
Default constructor. More... | |
virtual void | raise () const override |
This function throws the object as exception. More... | |
![]() | |
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 | NOT_ENOUGH_MEMORY_MESSAGE_DEFAULT |
Default message used in the library. More... | |
Additional Inherited Members | |
![]() | |
Exception (const char *const &message) noexcept | |
Default constructor. More... | |
Exception (const Exception &ex) noexcept | |
Default copy constructor. More... | |
Exception & | operator= (const Exception &ex) noexcept |
Assigment operation. More... | |
This class is thrown as an exception when the buffer's internal memory reachs its size limit.
|
noexcept |
Default constructor.
message | A error message. This message pointer is copied. |
|
noexcept |
Default copy constructor.
ex | NotEnoughMemoryException that will be copied. |
|
virtualnoexcept |
Default constructor.
|
noexcept |
Assigment operation.
ex | NotEnoughMemoryException that will be copied. |
|
overridevirtual |
This function throws the object as exception.
Implements Exception.
|
static |
Default message used in the library.