public Tree Build() { if (mErrorCode != BuilderError.NO_ERROR) { throw new Exception("INVALID TREE STATE -" + mErrorCode.ToString()); } return(new Tree { Root = mRoot }); }