1 //------------------------------------------------------------------------------
2 // <copyright file="URIFormatException.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
8 using System.Runtime.Serialization;
11 /// An exception class used when an invalid Uniform Resource Identifier is detected.
15 public class UriFormatException : FormatException, ISerializable {
20 /// <para>[To be supplied.]</para>
22 public UriFormatException() : base() {
26 /// <para>[To be supplied.]</para>
28 public UriFormatException(string textString) : base(textString) {
32 /// <para>[To be supplied.]</para>
34 public UriFormatException(string textString, Exception e) : base(textString, e) {
37 protected UriFormatException(SerializationInfo serializationInfo, StreamingContext streamingContext)
38 : base(serializationInfo, streamingContext) {
42 void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) {
43 base.GetObjectData(serializationInfo, streamingContext);
52 }; // class UriFormatException