Skip to content
Snippets Groups Projects
Commit ba1e20cf authored by Steven Murray's avatar Steven Murray
Browse files

Renamed mediachanger::ExceptionMsg

parent 3488c9da
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
package cta.mediachanger;
message ExceptionMsg {
message MediaChangerExceptionMsg {
// The error code
required uint32 code = 1;
......
......@@ -21,7 +21,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include "mediachanger/ExceptionMsg.pb.h"
#include "mediachanger/MediaChangerExceptionMsg.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;
MediaChangerExceptionMsg exMsg;
frame.parseBodyIntoProtocolBuffer(exMsg);
cta::exception::Exception ex;
ex.getMessage() << exMsg.message();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment