ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::models::index_out_of_bounds_exception Class Reference

Thrown whenever a model finds an index to be out of bounds. More...

#include <exception.hpp>

Inheritance diagram for viennashe::models::index_out_of_bounds_exception:

Public Member Functions

 index_out_of_bounds_exception (std::string const &str)
 
virtual const char * what () const throw ()
 
 index_out_of_bounds_exception (std::string msg, long index, long bound)
 
virtual ~index_out_of_bounds_exception () throw ()
 

Detailed Description

Thrown whenever a model finds an index to be out of bounds.

Definition at line 59 of file exception.hpp.

Constructor & Destructor Documentation

◆ index_out_of_bounds_exception() [1/2]

viennashe::models::index_out_of_bounds_exception::index_out_of_bounds_exception ( std::string const &  str)
inline

Definition at line 62 of file exception.hpp.

◆ index_out_of_bounds_exception() [2/2]

viennashe::models::index_out_of_bounds_exception::index_out_of_bounds_exception ( std::string  msg,
long  index,
long  bound 
)
inline

Definition at line 67 of file exception.hpp.

◆ ~index_out_of_bounds_exception()

virtual viennashe::models::index_out_of_bounds_exception::~index_out_of_bounds_exception ( )
throw (
)
inlinevirtual

Definition at line 71 of file exception.hpp.

Member Function Documentation

◆ what()

virtual const char * viennashe::models::index_out_of_bounds_exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 65 of file exception.hpp.


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