Updated expected exception to RuntimeException