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

Exception thrown when a RapidsMPF allocation fails. More...

#include <error.hpp>

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

Public Member Functions

 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 a RapidsMPF allocation fails.

Definition at line 35 of file error.hpp.

Constructor & Destructor Documentation

◆ bad_alloc() [1/2]

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

Construct a bad_alloc with the error message.

Parameters
msgMessage to be associated with the exception.

Definition at line 42 of file error.hpp.

◆ bad_alloc() [2/2]

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

Construct a bad_alloc with the error message.

Parameters
msgMessage to be associated with the exception.

Definition at line 50 of file error.hpp.

Member Function Documentation

◆ what()

char const* rapidsmpf::bad_alloc::what ( ) const
inlineoverridenoexcept

Return the explanatory string.

Returns
The explanatory string.

Definition at line 57 of file error.hpp.


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