using System; using System.Runtime.Serialization; namespace System { /// The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected. /// 2 // Token: 0x02000300 RID: 768 [Serializable] public class UriFormatException : FormatException, ISerializable { /// Initializes a new instance of the class. // Token: 0x06001BD4 RID: 7124 RVA: 0x000681E8 File Offset: 0x000663E8 public UriFormatException() : base(global::Locale.GetText("Invalid URI format")) { } /// Initializes a new instance of the class with the specified message. /// The error message string. // Token: 0x06001BD5 RID: 7125 RVA: 0x000681FC File Offset: 0x000663FC public UriFormatException(string message) : base(message) { } // Token: 0x06001BD6 RID: 7126 RVA: 0x00068208 File Offset: 0x00066408 public UriFormatException(string message, Exception exception) : base(message, exception) { } /// Initializes a new instance of the class from the specified and instances. /// A that contains the information that is required to serialize the new . /// A that contains the source of the serialized stream that is associated with the new . // Token: 0x06001BD7 RID: 7127 RVA: 0x00068214 File Offset: 0x00066414 protected UriFormatException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// Populates a instance with the data that is needed to serialize the . /// A that will hold the serialized data for the . /// A that contains the destination of the serialized stream that is associated with the new . // Token: 0x06001BD8 RID: 7128 RVA: 0x00068220 File Offset: 0x00066420 void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } } }