Files
spark/src/lib/config/ConfigurationException.cpp
T
2017-08-07 17:21:12 -04:00

38 lines
847 B
C++
Executable File

#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