From d8ead43e3fe726dca7b9c150b16db6a95b2de062 Mon Sep 17 00:00:00 2001 From: Andrea Orlati Date: Wed, 19 Jan 2022 19:13:30 +0100 Subject: [PATCH] fix isse #664: not handled exception fixed (#666) --- Common/Servers/ReceiversBoss/include/RecvBossCore.h | 4 +++- Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Common/Servers/ReceiversBoss/include/RecvBossCore.h b/Common/Servers/ReceiversBoss/include/RecvBossCore.h index 72add2f82..10f98bcd0 100644 --- a/Common/Servers/ReceiversBoss/include/RecvBossCore.h +++ b/Common/Servers/ReceiversBoss/include/RecvBossCore.h @@ -415,7 +415,9 @@ private: void unloadReceiver(); #ifdef COMPILE_TARGET_MED - void setup(const char * code) throw(ComponentErrors::SocketErrorExImpl,ComponentErrors::ValidationErrorExImpl); + void setup(const char * code) throw (ComponentErrors::SocketErrorExImpl,ComponentErrors::ValidationErrorExImpl, + ComponentErrors::CORBAProblemExImpl,ComponentErrors::CouldntGetComponentExImpl,ComponentErrors::UnexpectedExImpl, + ComponentErrors::OperationErrorExImpl); bool sendToRecvControl(const void *buffer,int size); bool sendToFS(const void *buffer,int size); diff --git a/Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i b/Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i index 46bf5c9fa..ace47317c 100644 --- a/Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i +++ b/Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i @@ -283,7 +283,9 @@ void CRecvBossCore::setLO(const ACS::doubleSeq& lo) throw (ComponentErrors::Vali IRA::CIRATools::Wait(0,500000); //wait half a second to settle things down } -void CRecvBossCore::setup(const char * code) throw (ComponentErrors::SocketErrorExImpl,ComponentErrors::ValidationErrorExImpl) +void CRecvBossCore::setup(const char * code) throw (ComponentErrors::SocketErrorExImpl,ComponentErrors::ValidationErrorExImpl, + ComponentErrors::CORBAProblemExImpl,ComponentErrors::CouldntGetComponentExImpl,ComponentErrors::UnexpectedExImpl, + ComponentErrors::OperationErrorExImpl) { IRA::CError err; IRA::CString rec(code); -- GitLab