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
64809ad7
Commit
64809ad7
authored
Feb 25, 2017
by
Steven Murray
Browse files
Replaced '<< ex.getMessage()' with '<< ex.getMessage().str()'
parent
15030ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/tape/tapeserver/SCSI/Exception.cpp
View file @
64809ad7
...
...
@@ -112,13 +112,13 @@ castor::tape::SCSI::Exception::Exception(
w
<<
": "
<<
sense
->
getSenseKeyString
();
}
catch
(
Exception
&
ex
)
{
w
<<
": In addition, failed to get Sense Key string: "
<<
ex
.
getMessage
();
<<
ex
.
getMessage
()
.
str
()
;
}
try
{
w
<<
": "
<<
sense
->
getACSString
();
}
catch
(
Exception
&
ex
)
{
w
<<
": In addition, failed to get ACS string: "
<<
ex
.
getMessage
();
<<
ex
.
getMessage
()
.
str
()
;
}
}
setWhat
(
w
.
str
());
...
...
@@ -159,13 +159,13 @@ castor::tape::SCSI::DriverException::DriverException(
w
<<
": "
<<
sense
->
getSenseKeyString
();
}
catch
(
Exception
&
ex
)
{
w
<<
": In addition, failed to get Sense Key string: "
<<
ex
.
getMessage
();
<<
ex
.
getMessage
()
.
str
()
;
}
try
{
w
<<
": "
<<
sense
->
getACSString
();
}
catch
(
Exception
&
ex
)
{
w
<<
": In addition, failed to get ACS string: "
<<
ex
.
getMessage
();
<<
ex
.
getMessage
()
.
str
()
;
}
}
...
...
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