The Labs \ Source Viewer \ SSCLI \ System \ UriFormatException

  1. //------------------------------------------------------------------------------
  2. // <copyright file="URIFormatException.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System
  16. {
  17.     using System.Runtime.Serialization;
  18.     /// <devdoc>
  19.     /// <para>
  20.     /// An exception class used when an invalid Uniform Resource Identifier is detected.
  21.     /// </para>
  22.     /// </devdoc>
  23.     [Serializable()]
  24.     public class UriFormatException : FormatException, ISerializable
  25.     {
  26.        
  27.         // constructors
  28.        
  29.         /// <devdoc>
  30.         /// <para>[To be supplied.]</para>
  31.         /// </devdoc>
  32.         public UriFormatException() : base()
  33.         {
  34.         }
  35.        
  36.         /// <devdoc>
  37.         /// <para>[To be supplied.]</para>
  38.         /// </devdoc>
  39.         public UriFormatException(string textString) : base(textString)
  40.         {
  41.         }
  42.        
  43.         protected UriFormatException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext)
  44.         {
  45.         }
  46.        
  47.         /// <internalonly/>
  48.         void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
  49.         {
  50.             base.GetObjectData(serializationInfo, streamingContext);
  51.         }
  52.        
  53.         // accessors
  54.        
  55.         // methods
  56.        
  57.         // data
  58.        
  59.     }
  60.     // class UriFormatException
  61.    
  62. }
  63. // namespace System

Developer Fusion