2002-01-05 Ravi Pratap <ravi@ximian.com>
[mono.git] / mcs / class / System / System / UriFormatException.cs
1 //
2 // System.UriFormatException.cs
3 //
4 // Author:
5 //   Scott Sanders (scott@stonecobra.com)
6 //
7 // (C) 2001 Scott Sanders
8 //
9
10 using System.Runtime.Serialization;
11
12 namespace System {
13
14         public class UriFormatException : Exception {
15
16                 // Constructors
17                 public UriFormatException ()
18                         : base ("Invalid URI format")
19                 {
20                 }
21
22                 public UriFormatException (string message)
23                         : base (message)
24                 {
25                 }
26
27                 [MonoTODO]
28                 protected UriFormatException( SerializationInfo info, StreamingContext context)
29                         : base ("UriFormatException: Please implement me")
30                 {
31                         //TODO - Implement me...  The Beta2 docs say nothing about what this method does
32                 }
33         }
34 }