Catch and throw more detailed exception, when bucket not found 59/24659/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 17 Jul 2014 16:44:28 +0000 (18:44 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 18 Jul 2014 06:49:36 +0000 (08:49 +0200)
commit9be977b85a40a1e30f1f472f0c2769e8f516bbf5
tree0551b66a04a890ef16d41b8d054f699aede70b7b
parent346b7de870bbba9a244ade9304d519580ba1fbb0
Catch and throw more detailed exception, when bucket not found

There was an uncaught out_of_range exception, that can be thrown
by unordered_map::at() method. It will be better to use a more
detailed exception here. It will also fit into design of other
methods from InMemoryStorageBackend.

Change-Id: Ib70f10c79358b08f3b2a792143a1498050cc677a
src/service/storage/InMemoryStorageBackend.cpp