protected void CheckMessageString(MessageString errorMsg)
 {
     if (errorMsg.IsNull())
     {
         throw new NullReferenceException("MessageString object is empty");
     }
 }