Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
0988176c
Commit
0988176c
authored
Aug 30, 2016
by
Victor Kotlyar
Browse files
Renamed castor::exception::NoPortInRange to
cta::exception::NoPortInRange
parent
f7be4658
Changes
6
Hide whitespace changes
Inline
Side-by-side
common/CMakeLists.txt
View file @
0988176c
...
...
@@ -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
...
...
tapeserver/castor
/exception/NoPortInRange.cpp
→
common
/exception/NoPortInRange.cpp
View file @
0988176c
...
...
@@ -21,13 +21,13 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include
"c
astor
/exception/NoPortInRange.hpp"
#include
"c
ommon
/exception/NoPortInRange.hpp"
//------------------------------------------------------------------------------
// Constructor
//------------------------------------------------------------------------------
ca
stor
::
exception
::
NoPortInRange
::
NoPortInRange
(
c
t
a
::
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
ca
stor
::
exception
::
NoPortInRange
::
getLowPort
()
throw
()
{
unsigned
short
c
t
a
::
exception
::
NoPortInRange
::
getLowPort
()
throw
()
{
return
m_lowPort
;
}
...
...
@@ -49,6 +49,6 @@ unsigned short castor::exception::NoPortInRange::getLowPort() throw() {
//------------------------------------------------------------------------------
// getHighPort()
//------------------------------------------------------------------------------
unsigned
short
ca
stor
::
exception
::
NoPortInRange
::
getHighPort
()
throw
()
{
unsigned
short
c
t
a
::
exception
::
NoPortInRange
::
getHighPort
()
throw
()
{
return
m_highPort
;
}
tapeserver/castor
/exception/NoPortInRange.hpp
→
common
/exception/NoPortInRange.hpp
View file @
0988176c
...
...
@@ -28,7 +28,7 @@
#include
<string>
namespace
ca
stor
{
namespace
c
t
a
{
namespace
exception
{
/**
...
...
@@ -79,5 +79,5 @@ private:
};
// class NoPortInRange
}
// namespace exception
}
// namespace ca
stor
}
// namespace c
t
a
tapeserver/castor/io/io.cpp
View file @
0988176c
...
...
@@ -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
ca
stor
::
exception
::
NoPortInRange
ex
(
lowPort
,
highPort
);
c
t
a
::
exception
::
NoPortInRange
ex
(
lowPort
,
highPort
);
ex
.
getMessage
()
<<
"All ports within the specified range are in use"
": listenSocketFd="
<<
sock
.
get
()
<<
...
...
tapeserver/castor/io/io.hpp
View file @
0988176c
...
...
@@ -26,7 +26,7 @@
#include
"common/exception/AcceptConnectionInterrupted.hpp"
#include
"common/exception/InvalidArgument.hpp"
#include
"c
astor
/exception/NoPortInRange.hpp"
#include
"c
ommon
/exception/NoPortInRange.hpp"
#include
"castor/exception/TimeOut.hpp"
#include
"castor/io/Constants.hpp"
#include
"castor/io/IpAndPort.hpp"
...
...
tapeserver/castor/utils/CMakeLists.txt
View file @
0988176c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment