An exception related to configuration.
More...
#include <configexception.hpp>
|
| Config (const std::string &config_target, const std::string &config_entry, bool not_found) |
| Construct a config exception for when we failed to load a property. More...
|
|
| Config (const std::string &filename) |
| Create a config exception when we failed to parse a configuration file. More...
|
|
| LEOSACException (const std::string &message) |
|
virtual | ~LEOSACException () |
|
virtual const char * | what () const noexcept final |
|
const Leosac::Tools::Stacktrace & | trace () const |
| Get the stacktrace associated with this exception. More...
|
|
|
static std::string | build_message (const std::string &config_target, const std::string &config_entry, bool not_found) |
|
static std::string | build_message (const std::string &filename) |
|
An exception related to configuration.
Definition at line 33 of file configexception.hpp.
◆ Config() [1/2]
Leosac::Ex::Config::Config |
( |
const std::string & |
config_target, |
|
|
const std::string & |
config_entry, |
|
|
bool |
not_found |
|
) |
| |
|
inline |
Construct a config exception for when we failed to load a property.
- Parameters
-
config_target | The subsystem that tried to use / load the configuration. |
config_entry | The key (property) that is the source of the exception. |
not_found | Is the exception due to not finding the key, or invalid entry. |
Definition at line 46 of file configexception.hpp.
◆ Config() [2/2]
Leosac::Ex::Config::Config |
( |
const std::string & |
filename | ) |
|
|
inline |
Create a config exception when we failed to parse a configuration file.
Definition at line 56 of file configexception.hpp.
◆ build_message() [1/2]
static std::string Leosac::Ex::Config::build_message |
( |
const std::string & |
config_target, |
|
|
const std::string & |
config_entry, |
|
|
bool |
not_found |
|
) |
| |
|
inlinestaticprivate |
◆ build_message() [2/2]
static std::string Leosac::Ex::Config::build_message |
( |
const std::string & |
filename | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: