It'd be better to find out which exceptions can be thrown and catch only those.