jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | Protected Member Functions | List of all members
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)=default
 
 RuntimeException (RuntimeException &&o)=default
 
 RuntimeException (std::string const &m, const char *file, int line) noexcept
 
 ~RuntimeException () noexcept override=default
 
RuntimeExceptionoperator= (const RuntimeException &o)=default
 
RuntimeExceptionoperator= (RuntimeException &&o)=default
 
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
 

Protected Member Functions

 RuntimeException (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 349 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 351 of file basic_types.hpp.

◆ RuntimeException() [2/4]

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

Definition at line 355 of file basic_types.hpp.

◆ ~RuntimeException()

jau::RuntimeException::~RuntimeException ( )
overridedefaultnoexcept

◆ RuntimeException() [3/4]

jau::RuntimeException::RuntimeException ( const RuntimeException o)
default

◆ RuntimeException() [4/4]

jau::RuntimeException::RuntimeException ( RuntimeException &&  o)
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ what()

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

Reimplemented from jau::ExceptionBase.

Definition at line 365 of file basic_types.hpp.


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