[mscorlib][System] Use PlatformNotSupportedException instead of NotSupportedException...
[mono.git] / mcs / class / System / System.Net.NetworkInformation / Ping.cs
index 694f89ba053a572d8d16f961bd58df79e8363968..f18b70c0f9ad0babef214d3c27daf9627aebc156 100644 (file)
@@ -340,7 +340,7 @@ namespace System.Net.NetworkInformation {
 
                        return new PingReply (address, buffer, options, trip_time, status);
 #else
-                       throw new NotSupportedException ("Ping is not supported on this platform.");
+                       throw new PlatformNotSupportedException ("Ping is not supported on this platform.");
 #endif // MONO_FEATURE_PROCESS_START
                }
 #endif // !MONOTOUCH