Skip to content
GitLab
Menu
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
45fe44b0
Commit
45fe44b0
authored
Aug 30, 2016
by
Victor Kotlyar
Browse files
Renamed castor::exception::OutOfMemory to
cta::exception::OutOfMemory
parent
c44e52ff
Changes
5
Hide whitespace changes
Inline
Side-by-side
common/CMakeLists.txt
View file @
45fe44b0
...
...
@@ -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
...
...
tapeserver/castor
/exception/OutOfMemory.cpp
→
common
/exception/OutOfMemory.cpp
View file @
45fe44b0
...
...
@@ -24,10 +24,10 @@
// Include Files
#include <errno.h>
#include "c
astor
/exception/OutOfMemory.hpp"
#include "c
ommon
/exception/OutOfMemory.hpp"
// -----------------------------------------------------------------------
// Constructor
// -----------------------------------------------------------------------
ca
stor
::
exception
::
OutOfMemory
::
OutOfMemory
()
:
c
t
a
::
exception
::
OutOfMemory
::
OutOfMemory
()
:
cta
::
exception
::
Exception
()
{}
tapeserver/castor
/exception/OutOfMemory.hpp
→
common
/exception/OutOfMemory.hpp
View file @
45fe44b0
...
...
@@ -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/System.cpp
View file @
45fe44b0
...
...
@@ -34,7 +34,7 @@
// Local includes
#include "System.hpp"
#include "c
astor
/exception/OutOfMemory.hpp"
#include "c
ommon
/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
)
{
ca
stor
::
exception
::
OutOfMemory
ex
;
c
t
a
::
exception
::
OutOfMemory
ex
;
ex
.
getMessage
()
<<
"Could not allocate hostname with length "
<<
len
;
throw
ex
;
}
...
...
tapeserver/castor/utils/CMakeLists.txt
View file @
45fe44b0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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