PLaSK library
Loading...
Searching...
No Matches
plask::OutOfBoundsException Struct Reference

This exception is thrown when some value (function argument) is out of bound. More...

#include <plask/exceptions.hpp>

Inheritance diagram for plask::OutOfBoundsException:
[legend]
Collaboration diagram for plask::OutOfBoundsException:
[legend]

Public Member Functions

 OutOfBoundsException (const std::string &where, const std::string &argname)
 
template<typename BoundTypeWas , typename BoundTypeLo , typename BoundTypeHi >
 OutOfBoundsException (const std::string &where, const std::string &argname, const BoundTypeWas &was, const BoundTypeLo &lo, const BoundTypeHi &hi)
 
- Public Member Functions inherited from plask::Exception
 Exception (const std::string &msg)
 
template<typename... T>
 Exception (const std::string &msg, const T &... args)
 Format error message using format.
 

Detailed Description

This exception is thrown when some value (function argument) is out of bound.

Definition at line 86 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ OutOfBoundsException() [1/2]

plask::OutOfBoundsException::OutOfBoundsException ( const std::string &  where,
const std::string &  argname 
)
inline

Definition at line 88 of file exceptions.hpp.

◆ OutOfBoundsException() [2/2]

plask::OutOfBoundsException::OutOfBoundsException ( const std::string &  where,
const std::string &  argname,
const BoundTypeWas was,
const BoundTypeLo lo,
const BoundTypeHi hi 
)
inline

Definition at line 92 of file exceptions.hpp.


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