Cantera  2.3.0
Public Member Functions | List of all members
CELapackError Class Reference

Exception thrown when an LAPACK error is encountered associated with inverting or solving a matrix. More...

#include <DenseMatrix.h>

Inheritance diagram for CELapackError:
[legend]
Collaboration diagram for CELapackError:
[legend]

Public Member Functions

 CELapackError (const std::string &routine, const std::string &msg)
 Constructor passes through to main Cantera error handler. More...
 
- Public Member Functions inherited from CanteraError
template<typename... Args>
 CanteraError (const std::string &procedure, const std::string &msg, const Args &... args)
 Normal Constructor for the CanteraError base class. More...
 
virtual ~CanteraError () throw ()
 Destructor for base class does nothing. More...
 
const char * what () const throw ()
 Get a description of the error. More...
 
void save ()
 Function to put this error onto Cantera's error stack. More...
 
virtual std::string getMessage () const
 Method overridden by derived classes to format the error message. More...
 
virtual std::string getClass () const
 Method overridden by derived classes to indicate their type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CanteraError
 CanteraError ()
 Protected default constructor discourages throwing errors containing no information. More...
 
 CanteraError (const std::string &procedure)
 Constructor used by derived classes that override getMessage() More...
 
- Protected Attributes inherited from CanteraError
std::string procedure_
 The name of the procedure where the exception occurred. More...
 
std::string formattedMessage_
 Formatted message returned by what() More...
 

Detailed Description

Exception thrown when an LAPACK error is encountered associated with inverting or solving a matrix.

A named error condition is used so that the calling code may differentiate this type of error from other error conditions.

Definition at line 35 of file DenseMatrix.h.

Constructor & Destructor Documentation

◆ CELapackError()

CELapackError ( const std::string &  routine,
const std::string &  msg 
)
inline

Constructor passes through to main Cantera error handler.

Parameters
routineName of calling routine
msgInformative message
Deprecated:
Unused. To be removed after Cantera 2.3.

Definition at line 44 of file DenseMatrix.h.

References Cantera::warn_deprecated().


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