Added line number to exception output.