Commit 45fe44b0 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Renamed castor::exception::OutOfMemory to

cta::exception::OutOfMemory
parent c44e52ff
......@@ -80,6 +80,7 @@ set (COMMON_LIB_SRC_FILES
exception/NoEntry.cpp
exception/NoPortInRange.cpp
exception/NotAnOwner.cpp
exception/OutOfMemory.cpp
log/DummyLogger.cpp
log/LogContext.cpp
log/Logger.cpp
......
......@@ -24,10 +24,10 @@
// Include Files
#include <errno.h>
#include "castor/exception/OutOfMemory.hpp"
#include "common/exception/OutOfMemory.hpp"
// -----------------------------------------------------------------------
// Constructor
// -----------------------------------------------------------------------
castor::exception::OutOfMemory::OutOfMemory() :
cta::exception::OutOfMemory::OutOfMemory() :
cta::exception::Exception() {}
......@@ -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
......@@ -34,7 +34,7 @@
// Local includes
#include "System.hpp"
#include "castor/exception/OutOfMemory.hpp"
#include "common/exception/OutOfMemory.hpp"
#define STAGERSUPERGROUP "st"
#define STAGERSUPERUSER "stage"
......@@ -50,7 +50,7 @@ std::string castor::System::getHostName()
char* hostname;
hostname = (char*) calloc(len, 1);
if (0 == hostname) {
castor::exception::OutOfMemory ex;
cta::exception::OutOfMemory ex;
ex.getMessage() << "Could not allocate hostname with length " << len;
throw ex;
}
......
......@@ -32,7 +32,6 @@ set (UTILS_LIB_SRC_FILES
../common/CastorConfiguration.cpp
../exception/Errnum.cpp
../exception/TimeOut.cpp
../exception/OutOfMemory.cpp
../BaseObject.cpp
../Services.cpp
../Factories.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