(a) When a judgment has been rendered, either party may move in arrest thereof for any defect not amendable which appears on the face of the record or pleadings.(b) A motion in arrest of judgment must be made during the term at which the judgment was obtained.