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
fcbd598e
Commit
fcbd598e
authored
Aug 30, 2016
by
Victor Kotlyar
Browse files
Renamed castor::exception::EndOfFile to
cta::exception::EndOfFile
parent
1de172f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor
/exception/EndOfFile.hpp
→
common
/exception/EndOfFile.hpp
View file @
fcbd598e
...
...
@@ -26,7 +26,7 @@
#include "common/exception/Exception.hpp"
#include <string>
namespace
ca
stor
{
namespace
c
t
a
{
namespace
exception
{
class
EndOfFile
:
public
cta
::
exception
::
Exception
{
...
...
tapeserver/castor/tape/tapeserver/daemon/Payload.hpp
View file @
fcbd598e
...
...
@@ -24,7 +24,7 @@
#include "castor/tape/tapeserver/file/DiskFile.hpp"
#include "castor/tape/tapeserver/file/File.hpp"
#include "castor/exception/MemException.hpp"
#include "c
astor
/exception/EndOfFile.hpp"
#include "c
ommon
/exception/EndOfFile.hpp"
#pragma once
namespace
castor
{
...
...
@@ -110,7 +110,7 @@ public:
try
{
readSize
=
from
.
read
(
m_data
+
m_size
,
from
.
getBlockSize
());
}
catch
(
castor
::
tape
::
tapeFile
::
EndOfFile
&
)
{
throw
ca
stor
::
exception
::
EndOfFile
(
"In castor::tape::tapeserver::daemon::Payload::append: reached end of file"
);
throw
c
t
a
::
exception
::
EndOfFile
(
"In castor::tape::tapeserver::daemon::Payload::append: reached end of file"
);
}
m_size
+=
readSize
;
return
from
.
getBlockSize
()
<=
remainingFreeSpace
();
...
...
tapeserver/castor/tape/tapeserver/daemon/TapeReadTask.hpp
View file @
fcbd598e
...
...
@@ -122,7 +122,7 @@ public:
while
(
mb
->
m_payload
.
append
(
*
rf
))
{
tapeBlock
++
;
}
}
catch
(
const
ca
stor
::
exception
::
EndOfFile
&
)
{
}
catch
(
const
c
t
a
::
exception
::
EndOfFile
&
)
{
// append() signaled the end of the file.
stillReading
=
false
;
}
...
...
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