Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
ba1e20cf
Commit
ba1e20cf
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Renamed mediachanger::ExceptionMsg
parent
3488c9da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mediachanger/MediaChangerExceptionMsg.proto
+1
-1
1 addition, 1 deletion
mediachanger/MediaChangerExceptionMsg.proto
mediachanger/messages.cpp
+2
-2
2 additions, 2 deletions
mediachanger/messages.cpp
with
3 additions
and
3 deletions
mediachanger/ExceptionMsg.proto
→
mediachanger/
MediaChanger
ExceptionMsg.proto
+
1
−
1
View file @
ba1e20cf
...
...
@@ -18,7 +18,7 @@
package
cta
.
mediachanger
;
message
ExceptionMsg
{
message
MediaChanger
ExceptionMsg
{
// The error code
required
uint32
code
=
1
;
...
...
This diff is collapsed.
Click to expand it.
mediachanger/messages.cpp
+
2
−
2
View file @
ba1e20cf
...
...
@@ -21,7 +21,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include
"mediachanger/ExceptionMsg.pb.h"
#include
"mediachanger/
MediaChanger
ExceptionMsg.pb.h"
#include
"mediachanger/messages.hpp"
#include
"common/utils/strerror_r_wrapper.hpp"
...
...
@@ -225,7 +225,7 @@ void recvReplyOrEx(ZmqSocket& socket,
// If an exception message was received
if
(
MSG_TYPE_EXCEPTION
==
frame
.
header
.
msgtype
())
{
// Convert it into a C++ exception and throw it
ExceptionMsg
exMsg
;
MediaChanger
ExceptionMsg
exMsg
;
frame
.
parseBodyIntoProtocolBuffer
(
exMsg
);
cta
::
exception
::
Exception
ex
;
ex
.
getMessage
()
<<
exMsg
.
message
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment