An array index is out of range.  
 More...
#include <ctexceptions.h>
An array index is out of range. 
Definition at line 171 of file ctexceptions.h.
 | 
|   | IndexError (const string &func, const string &arrayName, size_t m, size_t mmax) | 
|   | Constructor.  
  | 
|   | 
| string  | getMessage () const override | 
|   | Method overridden by derived classes to format the error message.  
  | 
|   | 
| string  | getClass () const override | 
|   | Method overridden by derived classes to indicate their type.  
  | 
|   | 
| template<typename... Args>  | 
|   | CanteraError (const string &procedure, const string &msg, const Args &... args) | 
|   | Normal Constructor for the CanteraError base class.  
  | 
|   | 
| virtual  | ~CanteraError ()  throw () | 
|   | Destructor for base class does nothing.  
  | 
|   | 
| const char *  | what () const override  throw () | 
|   | Get a description of the error.  
  | 
|   | 
| virtual string  | getMessage () const | 
|   | Method overridden by derived classes to format the error message.  
  | 
|   | 
| virtual string  | getMethod () const | 
|   | Get the name of the method that threw the exception.  
  | 
|   | 
| virtual string  | getClass () const | 
|   | Method overridden by derived classes to indicate their type.  
  | 
|   | 
◆ IndexError()
  
  
      
        
          | IndexError  | 
          ( | 
          const string &  | 
          func,  | 
         
        
           | 
           | 
          const string &  | 
          arrayName,  | 
         
        
           | 
           | 
          size_t  | 
          m,  | 
         
        
           | 
           | 
          size_t  | 
          mmax  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
This class indicates an out-of-bounds array index.
- Parameters
 - 
  
    | func | String name for the function within which the error was generated.  | 
    | arrayName | name of the corresponding array  | 
    | m | This is the value of the out-of-bounds index.  | 
    | mmax | This is the maximum allowed value of the index. The minimum allowed value is assumed to be 0.  | 
  
   
Definition at line 185 of file ctexceptions.h.
 
 
◆ ~IndexError()
◆ getMessage()
  
  
      
        
          | string getMessage  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ getClass()
  
  
      
        
          | string getClass  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ arrayName_
◆ m_
◆ mmax_
The documentation for this class was generated from the following files: