extend try/catch block