This commit is contained in:
Pedro Pinto committed 2017-08-07 17:21:12 -04:00
commit 950e7b7e2d
350 files changed
+38599

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
#include "ConfigurationException.h"
namespace bts {
namespace config {
//
// ConfigurationException
//
ConfigurationException::ConfigurationException(const char* what)
: std::logic_error(""), _what(what)
{
}
ConfigurationException::ConfigurationException(const std::string& what)
: std::logic_error(""), _what(what)
{
}
ConfigurationException::ConfigurationException(const ConfigurationException& other)
: std::logic_error(""), _what(other._what)
{
}
ConfigurationException& ConfigurationException::operator=(const ConfigurationException& other)
{
_what = other._what;
return *this;
}
const char* ConfigurationException::what() const throw()
{
return _what.c_str();
}
ConfigurationException::~ConfigurationException() throw() {}
}}//namespace