catch exception by const ref

... redoing 0292b4269ec370818bb1ed48222fade636374a4a

Change-Id: Ie869d8cd011cdc64c87363a4c31e6afbd439808c
catch exception by const ref

... redoing 8d52cd0b327e90b555c6beaf29219ba011cc7244

Change-Id: If4935cf5f9adecbc6b42d7440747ae2ba09e9e5a
boost::checked_deleter serves the purpose

Change-Id: I22b4ea752e32b449dcc07b70cc5dc0ba52ad7c45