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

#include <basic_types.hpp>

Inheritance diagram for jau::IOError:
Collaboration diagram for jau::IOError:

Public Member Functions

 IOError (std::string const &m, const char *file, int line, const std::error_code &ec=std::io_errc::stream) noexcept
 
const char * what () const noexcept override
 
- Public Member Functions inherited from jau::RuntimeSystemExceptionBase
 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
 
const std::string & whole_message () const noexcept
 Returns brief message and optional whole backtrace, i.e.
 

Additional Inherited Members

- Protected Member Functions inherited from jau::RuntimeSystemExceptionBase
 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 inherited from jau::RuntimeSystemExceptionBase
std::error_code m_ec
 

Detailed Description

Definition at line 514 of file basic_types.hpp.

Constructor & Destructor Documentation

◆ IOError()

jau::IOError::IOError ( std::string const & m,
const char * file,
int line,
const std::error_code & ec = std::io_errc::stream )
inlinenoexcept

Definition at line 516 of file basic_types.hpp.

Member Function Documentation

◆ what()

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

Reimplemented from jau::ExceptionBase.

Definition at line 519 of file basic_types.hpp.


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