Commit add66027 authored by Steven Murray's avatar Steven Murray
Browse files

Renamed mediachanger::ExceptionMsg

parent c8d583f9
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment