public TextFrame(string text) { if(text==null) { throw new ArgumentNullException("The passed text parameter can not be null."); } Validate(text); this._text=text; Parse(); }