Merge pull request #3142 from henricm/fix-for-win-mono_string_to_utf8
[mono.git] / mcs / class / referencesource / System / net / System / Net / NetworkInformation / pingexception.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="WebException.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6
7
8 namespace System.Net.NetworkInformation {
9     using System;
10     using System.Runtime.Serialization;
11
12     [Serializable]
13     public class PingException : InvalidOperationException {
14
15         internal PingException() { }
16
17         protected PingException(SerializationInfo serializationInfo, StreamingContext streamingContext) :
18             base(serializationInfo, streamingContext) {}
19
20         public PingException(string message) : base(message) {
21         }
22
23         public PingException(string message, Exception innerException) :
24             base(message, innerException) {
25
26         }
27     }; 
28 } // namespace System.Net
29