projects
/
platform
/
core
/
security
/
klay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fd26cc
)
[SECIOTSW-530] Catch exceptions of type 'runtime::Exception' in '~Client()'
74/125874/1
author
Sungjun, Lee
<sjun221.lee@samsung.com>
Wed, 19 Apr 2017 07:38:24 +0000
(16:38 +0900)
committer
Sungjun, Lee
<sjun221.lee@samsung.com>
Wed, 19 Apr 2017 07:38:24 +0000
(16:38 +0900)
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
Change-Id: I8f52e3386e5a80675da0c83d682c9544f6c4a321
[WGID: 207329] '~Client()' doesn't catch exceptions of type 'runtime::Exception'
src/rmi/client.cpp
patch
|
blob
|
history
diff --git
a/src/rmi/client.cpp
b/src/rmi/client.cpp
index 4d5f462a988cc90b83b739a94c691cba5c52b47b..d6e7bfa4d4d8eb9376dea747f0871bac6ea12b66 100644
(file)
--- a/
src/rmi/client.cpp
+++ b/
src/rmi/client.cpp
@@
-24,7
+24,9
@@
Client::Client(const std::string& path) :
Client::~Client()
{
- disconnect();
+ try {
+ disconnect();
+ } catch (runtime::Exception& e) {}
}
void Client::connect()