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