fourdst::libcomposition v1.5.2
Robust atomic species information library
|
Base class for exceptions related to individual entries within a composition. More...
#include <exceptions_composition.h>
Public Member Functions | |
CompositionEntryError (const std::string &message) | |
Constructs a CompositionEntryError with an error message. | |
const char * | what () const noexcept override |
Returns the error message. | |
Protected Attributes | |
std::string | m_message |
The error message. | |
Base class for exceptions related to individual entries within a composition.
This exception is thrown for errors specific to a single component or entry in a composition, such as an invalid species symbol or duplicate initialization.
Definition at line 44 of file exceptions_composition.h.
|
inlineexplicit |
Constructs a CompositionEntryError with an error message.
message | The error message. |
Definition at line 55 of file exceptions_composition.h.
|
inlineoverridenoexcept |
Returns the error message.
Definition at line 62 of file exceptions_composition.h.
|
protected |
The error message.
Definition at line 49 of file exceptions_composition.h.