Commit f7be4658 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Renamed castor::exception::NoEntry to

cta::exception::NoEntry
parent 09adaaa1
......@@ -77,6 +77,7 @@ set (COMMON_LIB_SRC_FILES
exception/InvalidArgument.cpp
exception/InvalidConfigEntry.cpp
exception/MissingOperand.cpp
exception/NoEntry.cpp
log/DummyLogger.cpp
log/LogContext.cpp
log/Logger.cpp
......
......@@ -24,11 +24,11 @@
// Include Files
#include <errno.h>
#include "castor/exception/NoEntry.hpp"
#include "common/exception/NoEntry.hpp"
// -----------------------------------------------------------------------
// Constructor
// -----------------------------------------------------------------------
castor::exception::NoEntry::NoEntry() :
cta::exception::NoEntry::NoEntry() :
// No backtrace for this exception
cta::exception::Exception("", false) {}
......@@ -27,7 +27,7 @@
// Include Files
#include "common/exception/Exception.hpp"
namespace castor {
namespace cta {
namespace exception {
......@@ -47,5 +47,5 @@ namespace castor {
} // end of namespace exception
} // end of namespace castor
} // end of namespace cta
......@@ -22,7 +22,7 @@
*****************************************************************************/
#include "castor/common/CastorConfiguration.hpp"
#include "castor/exception/NoEntry.hpp"
#include "common/exception/NoEntry.hpp"
#include <algorithm>
#include <fstream>
......@@ -220,7 +220,7 @@ const std::string& castor::common::CastorConfiguration::getConfEntString(
std::map<std::string, ConfCategory>::const_iterator catIt =
m_config.find(category);
if (m_config.end() == catIt) {
castor::exception::NoEntry e;
cta::exception::NoEntry e;
e.getMessage() << "Failed to get configuration entry " << category << ":"
<< key << ": Failed to find " << category << " category";
throw e;
......@@ -228,7 +228,7 @@ const std::string& castor::common::CastorConfiguration::getConfEntString(
// get the entry
ConfCategory::const_iterator entIt = catIt->second.find(key);
if (catIt->second.end() == entIt) {
castor::exception::NoEntry e;
cta::exception::NoEntry e;
e.getMessage() << "Failed to get configuration entry " << category << ":"
<< key << ": Failed to find " << key << " key";
throw e;
......
......@@ -23,7 +23,7 @@
#pragma once
#include "castor/exception/NoEntry.hpp"
#include "common/exception/NoEntry.hpp"
#include "castor/log/Logger.hpp"
#include "castor/utils/utils.hpp"
#include "common/exception/Exception.hpp"
......
......@@ -25,7 +25,7 @@
#include "castor/common/CastorConfiguration.hpp"
#include "common/exception/InvalidConfigEntry.hpp"
#include "castor/exception/NoEntry.hpp"
#include "common/exception/NoEntry.hpp"
#include "castor/server/Daemon.hpp"
#include "castor/server/ProcessCap.hpp"
#include "castor/tape/reactor/ZMQReactor.hpp"
......
......@@ -30,7 +30,6 @@ set (UTILS_LIB_SRC_FILES
CRC.cpp
utils.cpp
../common/CastorConfiguration.cpp
../exception/NoEntry.cpp
../exception/Errnum.cpp
../exception/NotAnOwner.cpp
../exception/NoPortInRange.cpp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment