2, 16.1-279.1(D). Although in its recitation of the facts this Court recognized that a special plea in bar was filed in a protective order case, Altice v. Roanoke Cty. Dep't of Soc. Servs., 45 Va. App. 400, 403 (2005), we did not address the propriety of filing such a pleading in a petition for a protective order. In that case, Altice only assigned error relating to the substance, rather than the form, of his plea in bar below.
We do not isolate particular words or phrases but rather examine a statute in its entirety. Altice v. Roanoke County Dep't of Soc. Servs., 45 Va.App. 400, 406, 611 S.E.2d 628, 631 (2005). In doing so, we have a "duty to interpret the several parts of a statute as a consistent and harmonious whole so as to effectuate the legislative goal."