protected void CheckOpen() { if (closed) throw new Exception ("The ParsingObject has been closed and no changes can be made to it"); }