38 lines
847 B
C++
Executable File
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
|