Remove old exception syntax