chemmisol 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
chemmisol::MissingProducedSpeciesInReaction Class Reference

#include <reaction.h>

Inheritance diagram for chemmisol::MissingProducedSpeciesInReaction:
Inheritance graph
[legend]
Collaboration diagram for chemmisol::MissingProducedSpeciesInReaction:
Collaboration graph
[legend]

Public Member Functions

 MissingProducedSpeciesInReaction (const ChemicalSystem *chemical_system, const Reaction *invalid_reaction)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from chemmisol::InvalidReaction
 InvalidReaction (const ChemicalSystem *chemical_system, const Reaction *invalid_reaction)
 
const ChemicalSystemgetChemicalSystem () const
 
const ReactiongetInvalidReaction () const
 

Additional Inherited Members

- Protected Attributes inherited from chemmisol::InvalidReaction
const ChemicalSystemchemical_system
 
const Reactioninvalid_reaction
 

Detailed Description

Exception thrown when the produced species seems to be missing in a reaction definition.

Constructor & Destructor Documentation

◆ MissingProducedSpeciesInReaction()

chemmisol::MissingProducedSpeciesInReaction::MissingProducedSpeciesInReaction ( const ChemicalSystem chemical_system,
const Reaction invalid_reaction 
)

Defines an MissingProducedSpeciesInReaction exception.

Parameters
chemical_systemchemical system that tried to handle the ill formed reaction.
invalid_reactionill formed reaction.

Member Function Documentation

◆ what()

const char * chemmisol::MissingProducedSpeciesInReaction::what ( ) const
inlineoverridenoexcept

Returns a message that contains suggestions about how to solve the issue, such as current reaction reagents and components defined in the chemical system.


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