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

#include <reaction.h>

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

Public Member Functions

 EmptyReagents (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 reagents list of a reaction is empty.

Constructor & Destructor Documentation

◆ EmptyReagents()

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

Defines an EmptyReagents exception.

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

Member Function Documentation

◆ what()

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

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


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