An exception is an objection upon a matter of law to a decision made, either before or after judgment, by a Court, tribunal, Judge, or other judicial officer, in an action or proceeding. The exception must be taken at the time the decision is made, except as provided in section six hundred and forty-seven.