fourdst::libcomposition v1.5.2
Robust atomic species information library
Loading...
Searching...
No Matches
fourdst::composition::exceptions::InvalidCompositionError Class Referencefinal

Exception thrown when a composition is in an invalid or inconsistent state. More...

#include <exceptions_composition.h>

Inheritance diagram for fourdst::composition::exceptions::InvalidCompositionError:
fourdst::composition::exceptions::CompositionError

Private Member Functions

 CompositionError (const std::string &message)
 Constructs a CompositionError with an error message.
 

Additional Inherited Members

- Public Member Functions inherited from fourdst::composition::exceptions::CompositionError
 CompositionError (const std::string &message)
 Constructs a CompositionError with an error message.
 
const char * what () const noexcept override
 Returns the error message.
 
- Protected Attributes inherited from fourdst::composition::exceptions::CompositionError
std::string m_message
 The error message.
 

Detailed Description

Exception thrown when a composition is in an invalid or inconsistent state.

Definition at line 82 of file exceptions_composition.h.

Member Function Documentation

◆ CompositionError()

fourdst::composition::exceptions::CompositionError::CompositionError ( const std::string & message)
inlineexplicitprivate

Constructs a CompositionError with an error message.

Parameters
messageThe error message.

Definition at line 25 of file exceptions_composition.h.


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