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

#include <system.h>

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

Public Member Functions

 InvalidMineralSpeciesWithUndefinedSitesCount (const ChemicalSystem *chemical_system, const std::string &name)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from chemmisol::InvalidSpecies
const ChemicalSystemgetChemicalSystem () const
 
const std::string & getName () const
 
Phase getPhase () const
 

Additional Inherited Members

- Protected Member Functions inherited from chemmisol::InvalidSpecies
 InvalidSpecies (const ChemicalSystem *chemical_system, const std::string &name, Phase phase)
 

Detailed Description

Exception thrown when trying to add a mineral species to a chemical system where the mineral sites count is not properly defined.

Constructor & Destructor Documentation

◆ InvalidMineralSpeciesWithUndefinedSitesCount()

chemmisol::InvalidMineralSpeciesWithUndefinedSitesCount::InvalidMineralSpeciesWithUndefinedSitesCount ( const ChemicalSystem chemical_system,
const std::string &  name 
)

Defines an InvalidMineralSpeciesWithUndefinedSitesCount exception.

Parameters
chemical_systemchemical system with an invalid sites count.
nameName of the mineral species that cannot be added to the system.

Member Function Documentation

◆ what()

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

Returns a message that contains suggestions about how to solve the issue.


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