Init
This commit is contained in:
commit
950e7b7e2d
350 files changed
+38599
No files matched your search
Executable
+37
@@ -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
|
||||
Reference in new issue
Block a user