Merge pull request #2964 from ludovic-henry/sgen-monocontext
[mono.git] / mcs / class / referencesource / System / net / System / URIFormatException.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="URIFormatException.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6
7 namespace System {
8     using System.Runtime.Serialization;
9     /// <devdoc>
10     ///    <para>
11     ///       An exception class used when an invalid Uniform Resource Identifier is detected.
12     ///    </para>
13     /// </devdoc>
14     [Serializable]
15     public class UriFormatException : FormatException, ISerializable {
16
17         // constructors
18
19         /// <devdoc>
20         ///    <para>[To be supplied.]</para>
21         /// </devdoc>
22         public UriFormatException() : base() {
23         }
24
25         /// <devdoc>
26         ///    <para>[To be supplied.]</para>
27         /// </devdoc>
28         public UriFormatException(string textString) : base(textString) {
29         }
30
31         /// <devdoc>
32         ///    <para>[To be supplied.]</para>
33         /// </devdoc>
34         public UriFormatException(string textString, Exception e) : base(textString, e) {
35         }
36
37         protected UriFormatException(SerializationInfo serializationInfo, StreamingContext streamingContext)
38             : base(serializationInfo, streamingContext) {
39         }
40
41         /// <internalonly/>
42         void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) {
43             base.GetObjectData(serializationInfo, streamingContext);
44         }
45
46         // accessors
47
48         // methods
49
50         // data
51
52     }; // class UriFormatException
53
54
55 } // namespace System