|
Ocean
|
Definition of a base exception if an out of memory problem occurs. More...
#include <Exception.h>
Public Member Functions | |
| OutOfMemoryException () | |
| Creates a new exception if not enough memory is available without any message. | |
| OutOfMemoryException (const char *message) | |
| Creates a new exception if not enough memory is available with a message. | |
| OutOfMemoryException (const std::string &message) | |
| Creates a new exception if not enough memory is available with a message. | |
Public Member Functions inherited from Ocean::OceanException | |
| OceanException ()=default | |
| Creates a new OceanException object without any message. | |
| OceanException (OceanException &&exception) noexcept | |
| Move constructor. | |
| OceanException (const OceanException &exception) noexcept | |
| Copy constructor. | |
| OceanException (const char *message) | |
| Creates a new OceanException object with a message. | |
| OceanException (const std::string &message) | |
| Creates a new OceanException object with a message. | |
| ~OceanException () override | |
| Destructs an exception object. | |
| const char * | what () const noexcept override |
| Returns the exception message. | |
| OceanException & | operator= (OceanException &&exception) noexcept |
| Move operator. | |
| OceanException & | operator= (const OceanException &exception) noexcept |
| Copy operator. | |
Definition of a base exception if an out of memory problem occurs.
| Ocean::OutOfMemoryException::OutOfMemoryException | ( | ) |
Creates a new exception if not enough memory is available without any message.
|
explicit |
Creates a new exception if not enough memory is available with a message.
| message | Exception message |
|
explicit |
Creates a new exception if not enough memory is available with a message.
| message | Exception message |