bugid-98032 -- moved catch so it get exception from whole code