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

#include <basic_types.hpp>

Inheritance diagram for jau::RuntimeException:
Collaboration diagram for jau::RuntimeException:

Public Member Functions

 RuntimeException (const RuntimeException &o) noexcept=default
 
 RuntimeException (RuntimeException &&o) noexcept=default
 
 RuntimeException (std::string const &m, const char *file, int line) noexcept
 
 ~RuntimeException () noexcept override=default
 
RuntimeExceptionoperator= (const RuntimeException &o) noexcept=default
 
RuntimeExceptionoperator= (RuntimeException &&o) noexcept=default
 
const char * what () const noexcept override
 
- 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
 
const std::string & whole_message () const noexcept
 Returns brief message and optional whole backtrace, i.e.
 

Protected Member Functions

 RuntimeException (std::string &&type, 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
 

Detailed Description

Definition at line 401 of file basic_types.hpp.

Constructor & Destructor Documentation

◆ RuntimeException() [1/4]

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

Definition at line 403 of file basic_types.hpp.

Here is the caller graph for this function:

◆ RuntimeException() [2/4]

jau::RuntimeException::RuntimeException ( std::string const & m,
const char * file,
int line )
inlinenoexcept

Definition at line 407 of file basic_types.hpp.

◆ ~RuntimeException()

jau::RuntimeException::~RuntimeException ( )
overridedefaultnoexcept

◆ RuntimeException() [3/4]

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

◆ RuntimeException() [4/4]

jau::RuntimeException::RuntimeException ( RuntimeException && o)
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ what()

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

Reimplemented from jau::ExceptionBase.

Definition at line 418 of file basic_types.hpp.

Here is the caller graph for this function:

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