Revert "[runtime] Use pthread_cond_timedwait_relative_np () function on osx if availa...
[mono.git] / mcs / class / System.Net / System.Net.Sockets / SocketException_2_1.cs
index 9d040c2c5651654216b4c86d341c752d4d0147da..80a7bf656dd9e6a5194273da25b3f2822dbb4dbb 100644 (file)
@@ -43,7 +43,13 @@ namespace System.Net.Sockets {
                        error_code = WSAGetLastError_internal ();
                }
 
-               public SocketException (int error)
+               public SocketException (int errorCode)
+               {
+                       error_code = errorCode;
+               }
+
+               internal SocketException (int error, string message)
+                       : base (message)
                {
                        error_code = error;
                }