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
f7be4658
Commit
f7be4658
authored
Aug 30, 2016
by
Victor Kotlyar
Browse files
Renamed castor::exception::NoEntry to
cta::exception::NoEntry
parent
09adaaa1
Changes
7
Hide whitespace changes
Inline
Side-by-side
common/CMakeLists.txt
View file @
f7be4658
...
...
@@ -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
...
...
tapeserver/castor
/exception/NoEntry.cpp
→
common
/exception/NoEntry.cpp
View file @
f7be4658
...
...
@@ -24,11 +24,11 @@
// Include Files
#include
<errno.h>
#include
"c
astor
/exception/NoEntry.hpp"
#include
"c
ommon
/exception/NoEntry.hpp"
// -----------------------------------------------------------------------
// Constructor
// -----------------------------------------------------------------------
ca
stor
::
exception
::
NoEntry
::
NoEntry
()
:
c
t
a
::
exception
::
NoEntry
::
NoEntry
()
:
// No backtrace for this exception
cta
::
exception
::
Exception
(
""
,
false
)
{}
tapeserver/castor
/exception/NoEntry.hpp
→
common
/exception/NoEntry.hpp
View file @
f7be4658
...
...
@@ -27,7 +27,7 @@
// Include Files
#include
"common/exception/Exception.hpp"
namespace
ca
stor
{
namespace
c
t
a
{
namespace
exception
{
...
...
@@ -47,5 +47,5 @@ namespace castor {
}
// end of namespace exception
}
// end of namespace ca
stor
}
// end of namespace c
t
a
tapeserver/castor/common/CastorConfiguration.cpp
View file @
f7be4658
...
...
@@ -22,7 +22,7 @@
*****************************************************************************/
#include
"castor/common/CastorConfiguration.hpp"
#include
"c
astor
/exception/NoEntry.hpp"
#include
"c
ommon
/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
)
{
ca
stor
::
exception
::
NoEntry
e
;
c
t
a
::
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
)
{
ca
stor
::
exception
::
NoEntry
e
;
c
t
a
::
exception
::
NoEntry
e
;
e
.
getMessage
()
<<
"Failed to get configuration entry "
<<
category
<<
":"
<<
key
<<
": Failed to find "
<<
key
<<
" key"
;
throw
e
;
...
...
tapeserver/castor/common/CastorConfiguration.hpp
View file @
f7be4658
...
...
@@ -23,7 +23,7 @@
#pragma once
#include
"c
astor
/exception/NoEntry.hpp"
#include
"c
ommon
/exception/NoEntry.hpp"
#include
"castor/log/Logger.hpp"
#include
"castor/utils/utils.hpp"
#include
"common/exception/Exception.hpp"
...
...
tapeserver/castor/tape/tapeserver/daemon/TapeDaemon.hpp
View file @
f7be4658
...
...
@@ -25,7 +25,7 @@
#include
"castor/common/CastorConfiguration.hpp"
#include
"common/exception/InvalidConfigEntry.hpp"
#include
"c
astor
/exception/NoEntry.hpp"
#include
"c
ommon
/exception/NoEntry.hpp"
#include
"castor/server/Daemon.hpp"
#include
"castor/server/ProcessCap.hpp"
#include
"castor/tape/reactor/ZMQReactor.hpp"
...
...
tapeserver/castor/utils/CMakeLists.txt
View file @
f7be4658
...
...
@@ -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
...
...
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