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 (char const *msg)
 Construct an out_of_memory with the error message. More...
 
 out_of_memory (std::string const &msg)
 Construct an out_of_memory with the error message. More...
 
- Public Member Functions inherited from rapidsmpf::bad_alloc
 bad_alloc (char const *msg)
 Construct a bad_alloc with the error message. More...
 
 bad_alloc (std::string const &msg)
 Construct a bad_alloc with the error message. More...
 
char const * what () const noexcept override
 Return the explanatory string. More...
 

Detailed Description

Exception thrown when RapidsMPF runs out of memory.

This exception should only be thrown when we know a resource is out of memory.

Definition at line 72 of file error.hpp.

Constructor & Destructor Documentation

◆ out_of_memory() [1/2]

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

Construct an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception.

Definition at line 79 of file error.hpp.

◆ out_of_memory() [2/2]

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

Construct an out_of_memory with the error message.

Parameters
msgMessage to be associated with the exception.

Definition at line 87 of file error.hpp.


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