- #include <cppmicroservices/cm/ConfigurationException.hpp>
The ConfigurationAdmin implementation will log the exception with as much detail as it can. The ConfigurationException class is not final to ensure it can be used with std::throw_with_nested - the ConfigurationAdmin implementation will attempt to print the details of any nested exceptions as well.
Inherits from std::runtime_error
ConfigurationException(std::string rsn, std::string prop = "")¶
Construct a new ConfigurationException with the specified reason and optionally specify which property caused the error.
rsn: The reason for the exception.
prop: The property which caused the excpetion, if applicable.
Returns the reason for this exception.
- The reason for this exception.
Returns the property which was resonsible for this exception being throws, if applicable.
Could be empty.
- The property which caused this exception.