Commit 0988176c authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Renamed castor::exception::NoPortInRange to

cta::exception::NoPortInRange
parent f7be4658
......@@ -78,6 +78,7 @@ set (COMMON_LIB_SRC_FILES
exception/InvalidConfigEntry.cpp
exception/MissingOperand.cpp
exception/NoEntry.cpp
exception/NoPortInRange.cpp
log/DummyLogger.cpp
log/LogContext.cpp
log/Logger.cpp
......
......@@ -21,13 +21,13 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include "castor/exception/NoPortInRange.hpp"
#include "common/exception/NoPortInRange.hpp"
//------------------------------------------------------------------------------
// Constructor
//------------------------------------------------------------------------------
castor::exception::NoPortInRange::NoPortInRange(
cta::exception::NoPortInRange::NoPortInRange(
const unsigned short lowPort,
const unsigned short highPort) throw() :
cta::exception::Exception(),
......@@ -41,7 +41,7 @@ castor::exception::NoPortInRange::NoPortInRange(
//------------------------------------------------------------------------------
// getLowPort()
//------------------------------------------------------------------------------
unsigned short castor::exception::NoPortInRange::getLowPort() throw() {
unsigned short cta::exception::NoPortInRange::getLowPort() throw() {
return m_lowPort;
}
......@@ -49,6 +49,6 @@ unsigned short castor::exception::NoPortInRange::getLowPort() throw() {
//------------------------------------------------------------------------------
// getHighPort()
//------------------------------------------------------------------------------
unsigned short castor::exception::NoPortInRange::getHighPort() throw() {
unsigned short cta::exception::NoPortInRange::getHighPort() throw() {
return m_highPort;
}
......@@ -28,7 +28,7 @@
#include <string>
namespace castor {
namespace cta {
namespace exception {
/**
......@@ -79,5 +79,5 @@ private:
}; // class NoPortInRange
} // namespace exception
} // namespace castor
} // namespace cta
......@@ -211,7 +211,7 @@ int castor::io::createListenerSock(
// If this line is reached then all ports in the specified range are in use
// Throw an exception
castor::exception::NoPortInRange ex(lowPort, highPort);
cta::exception::NoPortInRange ex(lowPort, highPort);
ex.getMessage() <<
"All ports within the specified range are in use"
": listenSocketFd=" << sock.get() <<
......
......@@ -26,7 +26,7 @@
#include "common/exception/AcceptConnectionInterrupted.hpp"
#include "common/exception/InvalidArgument.hpp"
#include "castor/exception/NoPortInRange.hpp"
#include "common/exception/NoPortInRange.hpp"
#include "castor/exception/TimeOut.hpp"
#include "castor/io/Constants.hpp"
#include "castor/io/IpAndPort.hpp"
......
......@@ -32,7 +32,6 @@ set (UTILS_LIB_SRC_FILES
../common/CastorConfiguration.cpp
../exception/Errnum.cpp
../exception/NotAnOwner.cpp
../exception/NoPortInRange.cpp
../exception/TimeOut.cpp
../exception/OutOfMemory.cpp
../BaseObject.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