private void Parse (UriKind kind, string uriString) { if (uriString == null) throw new ArgumentNullException ("uriString"); string s = ParseNoExceptions (kind, uriString); if (s != null) throw new UriFormatException (s); }