Try-catch surround now throws runtime exceptions