Public Member Functions | List of all members
rapidsmpf::out_of_memory Class Reference

Exception thrown when RapidsMPF runs out of memory. More...

#include <error.hpp>

Inheritance diagram for rapidsmpf::out_of_memory:
rapidsmpf::bad_alloc

Public Member Functions

 out_of_memory (const char *msg)
 Constructs an out_of_memory with the error message. More...
 
 out_of_memory (std::string const &msg)
 Constructs an out_of_memory with the error message. More...
 
- Public Member Functions inherited from rapidsmpf::bad_alloc
 bad_alloc (const char *msg)
 Constructs a bad_alloc with the error message. More...
 
 bad_alloc (std::string const &msg)
 Constructs a bad_alloc with the error message. More...
 
const char * what () const noexcept override
 Returns the explanatory string. More...
 

Detailed Description

Exception thrown when RapidsMPF runs out of memory.

This error should only be thrown when we know for sure a resource is out of memory.

Definition at line 67 of file error.hpp.

Constructor & Destructor Documentation

◆ out_of_memory() [1/2]

rapidsmpf::out_of_memory::out_of_memory ( const char *  msg)
inline

Constructs an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception

Definition at line 74 of file error.hpp.

◆ out_of_memory() [2/2]

rapidsmpf::out_of_memory::out_of_memory ( std::string const &  msg)
inline

Constructs an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception

Definition at line 81 of file error.hpp.


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