I fear that the use of catch(...) is not allowed anymore in CMSSW. please refer to:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideEdmExceptionUse