Cantera  2.4.0
Public Member Functions | List of all members
TransportDBError Class Reference

Exception thrown if an error is encountered while reading the transport database. More...

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

Public Member Functions

 TransportDBError (size_t linenum, const std::string &msg)
 Default constructor. 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...
 
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 if an error is encountered while reading the transport database.

Definition at line 32 of file TransportFactory.cpp.

Constructor & Destructor Documentation

◆ TransportDBError()

TransportDBError ( size_t  linenum,
const std::string &  msg 
)
inline

Default constructor.

Parameters
linenuminputs the line number
msgString message to be sent to the user

Definition at line 40 of file TransportFactory.cpp.


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