Ocean
Ocean::OutOfMemoryException Class Reference

Definition of a base exception if an out of memory problem occurs. More...

Inheritance diagram for Ocean::OutOfMemoryException:

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...
 
OceanExceptionoperator= (OceanException &&exception) noexcept
 Move operator. More...
 
OceanExceptionoperator= (const OceanException &exception) noexcept
 Copy operator. More...
 

Detailed Description

Definition of a base exception if an out of memory problem occurs.

Constructor & Destructor Documentation

◆ OutOfMemoryException() [1/3]

Ocean::OutOfMemoryException::OutOfMemoryException ( )

Creates a new exception if not enough memory is available without any message.

◆ OutOfMemoryException() [2/3]

Ocean::OutOfMemoryException::OutOfMemoryException ( const char *  message)
explicit

Creates a new exception if not enough memory is available with a message.

Parameters
messageException message

◆ OutOfMemoryException() [3/3]

Ocean::OutOfMemoryException::OutOfMemoryException ( const std::string &  message)
explicit

Creates a new exception if not enough memory is available with a message.

Parameters
messageException message

The documentation for this class was generated from the following file: