Catch std exceptions