jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
jau::OutOfMemoryError Class Reference

#include <basic_types.hpp>

Inheritance diagram for jau::OutOfMemoryError:
Collaboration diagram for jau::OutOfMemoryError:

Public Member Functions

 OutOfMemoryError (std::string const &m, const char *file, int line)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from jau::ExceptionBase
 ExceptionBase (const ExceptionBase &o)=default
 
 ExceptionBase (ExceptionBase &&o)=default
 
virtual ~ExceptionBase () noexcept=default
 
const std::string & backtrace () const noexcept
 
const std::string & message () const noexcept
 
 operator const std::string & () const noexcept
 Allow conversion to const std::string&, as required by Catch2's REQUIRE_THROWS_MATCHES More...
 
std::ostream & operator<< (std::ostream &out) noexcept
 
ExceptionBaseoperator= (const ExceptionBase &o)=default
 
ExceptionBaseoperator= (ExceptionBase &&o)=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from jau::ExceptionBase
 ExceptionBase (std::string type, std::string const &m, const char *file, int line) noexcept
 

Detailed Description

Definition at line 339 of file basic_types.hpp.

Constructor & Destructor Documentation

◆ OutOfMemoryError()

jau::OutOfMemoryError::OutOfMemoryError ( std::string const &  m,
const char *  file,
int  line 
)
inline

Definition at line 341 of file basic_types.hpp.

Member Function Documentation

◆ what()

const char * jau::OutOfMemoryError::what ( ) const
inlineoverridevirtualnoexcept

Reimplemented from jau::ExceptionBase.

Definition at line 344 of file basic_types.hpp.


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