jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::RuntimeSystemExceptionBase Class Reference

#include <basic_types.hpp>

Inheritance diagram for jau::RuntimeSystemExceptionBase:
Collaboration diagram for jau::RuntimeSystemExceptionBase:

Public Member Functions

 RuntimeSystemExceptionBase (const RuntimeSystemExceptionBase &o) noexcept=default
 
 RuntimeSystemExceptionBase (RuntimeSystemExceptionBase &&o) noexcept=default
 
 ~RuntimeSystemExceptionBase () noexcept override=default
 
const std::error_code & code () const noexcept
 
RuntimeSystemExceptionBaseoperator= (const RuntimeSystemExceptionBase &o) noexcept=default
 
RuntimeSystemExceptionBaseoperator= (RuntimeSystemExceptionBase &&o) noexcept=default
 
- Public Member Functions inherited from jau::RuntimeExceptionBase
 RuntimeExceptionBase (const RuntimeExceptionBase &o) noexcept=default
 
 RuntimeExceptionBase (RuntimeExceptionBase &&o) noexcept=default
 
 ~RuntimeExceptionBase () noexcept override=default
 
RuntimeExceptionBaseoperator= (const RuntimeExceptionBase &o) noexcept=default
 
RuntimeExceptionBaseoperator= (RuntimeExceptionBase &&o) noexcept=default
 
- Public Member Functions inherited from jau::ExceptionBase
 ExceptionBase (const ExceptionBase &o) noexcept=default
 
 ExceptionBase (ExceptionBase &&o) noexcept=default
 
virtual ~ExceptionBase () noexcept=default
 
const std::string & backtrace () const noexcept
 Returns optional whole backtrace.
 
const std::string & brief_message () const noexcept
 Returns brief message.
 
 operator const std::string & () const noexcept
 Allow conversion to const std::string& using brief_message(), as required by Catch2's REQUIRE_THROWS_MATCHES
 
std::ostream & operator<< (std::ostream &out) noexcept
 
ExceptionBaseoperator= (const ExceptionBase &o) noexcept=default
 
ExceptionBaseoperator= (ExceptionBase &&o) noexcept=default
 
virtual const char * what () const noexcept
 
const std::string & whole_message () const noexcept
 Returns brief message and optional whole backtrace, i.e.
 

Protected Member Functions

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

Protected Attributes

std::error_code m_ec
 

Detailed Description

Definition at line 374 of file basic_types.hpp.

Constructor & Destructor Documentation

◆ RuntimeSystemExceptionBase() [1/3]

jau::RuntimeSystemExceptionBase::RuntimeSystemExceptionBase ( std::string && type,
const std::error_code & ec,
std::string const & m,
const char * file,
int line )
inlineprotectednoexcept

Definition at line 377 of file basic_types.hpp.

Here is the caller graph for this function:

◆ ~RuntimeSystemExceptionBase()

jau::RuntimeSystemExceptionBase::~RuntimeSystemExceptionBase ( )
overridedefaultnoexcept

◆ RuntimeSystemExceptionBase() [2/3]

jau::RuntimeSystemExceptionBase::RuntimeSystemExceptionBase ( const RuntimeSystemExceptionBase & o)
defaultnoexcept

◆ RuntimeSystemExceptionBase() [3/3]

jau::RuntimeSystemExceptionBase::RuntimeSystemExceptionBase ( RuntimeSystemExceptionBase && o)
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

RuntimeSystemExceptionBase & jau::RuntimeSystemExceptionBase::operator= ( const RuntimeSystemExceptionBase & o)
defaultnoexcept

◆ operator=() [2/2]

RuntimeSystemExceptionBase & jau::RuntimeSystemExceptionBase::operator= ( RuntimeSystemExceptionBase && o)
defaultnoexcept

◆ code()

const std::error_code & jau::RuntimeSystemExceptionBase::code ( ) const
inlinenoexcept

Definition at line 388 of file basic_types.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_ec

std::error_code jau::RuntimeSystemExceptionBase::m_ec
protected

Definition at line 376 of file basic_types.hpp.


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