Catch exception by const reference