jaulib v1.4.1-14-g15926ba
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::IndexOutOfBoundsError Class Reference

#include <exceptions.hpp>

Inheritance diagram for jau::IndexOutOfBoundsError:
Collaboration diagram for jau::IndexOutOfBoundsError:

Public Member Functions

 IndexOutOfBoundsError (const std::size_t index, const std::size_t count, const std::size_t length, const char *file, int line) noexcept
 
 IndexOutOfBoundsError (const std::size_t index, const std::size_t length, const char *file, int line) noexcept
 
 IndexOutOfBoundsError (const std::string &index_s, const std::string &length_s, const char *file, int line) noexcept
 
 IndexOutOfBoundsError (const std::string &msg, const std::size_t index, const std::size_t length, const char *file, int line) noexcept
 
const char * what () const noexcept override
 
- Public Member Functions inherited from jau::LogicErrorBase
 LogicErrorBase (const LogicErrorBase &o) noexcept=default
 
 LogicErrorBase (LogicErrorBase &&o) noexcept=default
 
 ~LogicErrorBase () noexcept override=default
 
LogicErrorBaseoperator= (const LogicErrorBase &o) noexcept=default
 
LogicErrorBaseoperator= (LogicErrorBase &&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

 IndexOutOfBoundsError (const char *file, int line, std::string &&type, std::string const &m) noexcept
 
- Protected Member Functions inherited from jau::LogicErrorBase
 LogicErrorBase (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 247 of file exceptions.hpp.


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