jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
jau::IndexOutOfBoundsException Class Reference

#include <basic_types.hpp>

Inheritance diagram for jau::IndexOutOfBoundsException:
Collaboration diagram for jau::IndexOutOfBoundsException:

Public Member Functions

 IndexOutOfBoundsException (const std::size_t index, const std::size_t count, const std::size_t length, const char *file, int line) noexcept
 
 IndexOutOfBoundsException (const std::size_t index, const std::size_t length, const char *file, int line) noexcept
 
 IndexOutOfBoundsException (const std::string &index_s, const std::string &length_s, const char *file, int line) noexcept
 
- Public Member Functions inherited from jau::RuntimeException
 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
 

Additional Inherited Members

- Protected Member Functions inherited from jau::RuntimeException
 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 406 of file basic_types.hpp.

Constructor & Destructor Documentation

◆ IndexOutOfBoundsException() [1/3]

jau::IndexOutOfBoundsException::IndexOutOfBoundsException ( const std::size_t  index,
const std::size_t  length,
const char *  file,
int  line 
)
inlinenoexcept

Definition at line 408 of file basic_types.hpp.

◆ IndexOutOfBoundsException() [2/3]

jau::IndexOutOfBoundsException::IndexOutOfBoundsException ( const std::string &  index_s,
const std::string &  length_s,
const char *  file,
int  line 
)
inlinenoexcept

Definition at line 411 of file basic_types.hpp.

◆ IndexOutOfBoundsException() [3/3]

jau::IndexOutOfBoundsException::IndexOutOfBoundsException ( const std::size_t  index,
const std::size_t  count,
const std::size_t  length,
const char *  file,
int  line 
)
inlinenoexcept

Definition at line 414 of file basic_types.hpp.


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