[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets SocketException.c
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets SocketException.cs,1.6,1.7 |
Date: |
Mon, 07 Apr 2003 02:04:00 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets
In directory subversions:/tmp/cvs-serv11023/System/Net/Sockets
Modified Files:
SocketException.cs
Log Message:
Add serialization support to exception classes in "System" and "System.Xml".
Index: SocketException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SocketException.cs 15 Feb 2003 18:23:48 -0000 1.6
--- SocketException.cs 7 Apr 2003 06:03:57 -0000 1.7
***************
*** 2,6 ****
* SocketException.cs - Implementation of the
"System.Net.Sockets.SocketException" class.
*
! * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
--- 2,6 ----
* SocketException.cs - Implementation of the
"System.Net.Sockets.SocketException" class.
*
! * Copyright (C) 2002, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
***************
*** 24,31 ****
using System;
using Platform;
#if !ECMA_COMPAT
! using System.ComponentModel;
#endif
-
public class SocketException :
#if !ECMA_COMPAT
--- 24,33 ----
using System;
using Platform;
+ using System.ComponentModel;
+ using System.Runtime.Serialization;
+
#if !ECMA_COMPAT
! [Serializable]
#endif
public class SocketException :
#if !ECMA_COMPAT
***************
*** 44,47 ****
--- 46,56 ----
errno = Errno.EREMOTEIO;
}
+ #if !ECMA_COMPAT
+ protected SocketException(SerializationInfo info, StreamingContext
context)
+ : base(info, context)
+ {
+ errno = Errno.EREMOTEIO;
+ }
+ #endif
internal SocketException(String msg)
: base(msg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets SocketException.cs,1.6,1.7,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomainUnloadedException.cs,1.6,1.7 ApplicationException.cs,1.7,1.8 ArgumentException.cs,1.6,1.7 ArgumentNullException.cs,1.5,1.6ArgumentOutOfRangeException.cs,1.6,1.7 ArithmeticException.cs,1.5,1.6ArrayTypeMismatchException.cs,1.5,1.6 BadImageFormatException.cs,1.6,1.7 CannotUnloadAppDomainException.cs,1.5,1.6 DBNull.cs,1.5,1.6 Delegate.cs,1.7,1.8 DivideByZeroException.cs,1.5,1.6 DuplicateWaitObjectException.cs,1.5,1.6 EntryPointNotFoundException.cs,1.5,1.6 ExecutionEngineException.cs,1.5,1.6 FieldAccessException.cs,1.5,1.6 FormatException.cs,1.5,1.6 IndexOutOfRangeException.cs,1.5,1.6 IntPtr.cs,1.7,1.8 InvalidCastException.cs,1.5,1.6 InvalidOperationException.cs,1.5,1.6 InvalidProgramException.cs,1.5,1.6 MemberAccessException.cs,1.5,1.6 MethodAccessException.cs,1.5,1.6 MissingFieldException.cs,1.5,1.6 MissingMemberException.cs,1.5,1.6 MissingMethodException.cs,1.5,1.6 MulticastNotSupportedException.cs,1.4,1.5 NotFiniteNumberException.cs,1.5,1.6 NotImplementedException.cs,1.3,1.4 NotSupportedException.cs,1.5,1.6 NullReferenceException.cs,1.5,1.6 ObjectDisposedException.cs,1.5,1.6 OutOfMemoryException.cs,1.6,1.7 OverflowException.cs,1.5,1.6 RankException.cs,1.5,1.6 RuntimeFieldHandle.cs,1.4,1.5 RuntimeMethodHandle.cs,1.6,1.7 RuntimeTypeHandle.cs,1.4,1.5 StackOverflowException.cs,1.5,1.6 SystemException.cs,1.9,1.10 TypeInitializationException.cs,1.5,1.6 TypeLoadException.cs,1.6,1.7 TypeUnloadedException.cs,1.5,1.6 UIntPtr.cs,1.8,1.9 UnauthorizedAccessException.cs,1.5,1.6 WeakReference.cs,1.2,1.3
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlException.cs,1.5,1.6
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomainUnloadedException.cs,1.6,1.7 ApplicationException.cs,1.7,1.8 ArgumentException.cs,1.6,1.7 ArgumentNullException.cs,1.5,1.6ArgumentOutOfRangeException.cs,1.6,1.7 ArithmeticException.cs,1.5,1.6ArrayTypeMismatchException.cs,1.5,1.6 BadImageFormatException.cs,1.6,1.7 CannotUnloadAppDomainException.cs,1.5,1.6 DBNull.cs,1.5,1.6 Delegate.cs,1.7,1.8 DivideByZeroException.cs,1.5,1.6 DuplicateWaitObjectException.cs,1.5,1.6 EntryPointNotFoundException.cs,1.5,1.6 ExecutionEngineException.cs,1.5,1.6 FieldAccessException.cs,1.5,1.6 FormatException.cs,1.5,1.6 IndexOutOfRangeException.cs,1.5,1.6 IntPtr.cs,1.7,1.8 InvalidCastException.cs,1.5,1.6 InvalidOperationException.cs,1.5,1.6 InvalidProgramException.cs,1.5,1.6 MemberAccessException.cs,1.5,1.6 MethodAccessException.cs,1.5,1.6 MissingFieldException.cs,1.5,1.6 MissingMemberException.cs,1.5,1.6 MissingMethodException.cs,1.5,1.6 MulticastNotSupportedException.cs,1.4,1.5 NotFiniteNumberException.cs,1.5,1.6 NotImplementedException.cs,1.3,1.4 NotSupportedException.cs,1.5,1.6 NullReferenceException.cs,1.5,1.6 ObjectDisposedException.cs,1.5,1.6 OutOfMemoryException.cs,1.6,1.7 OverflowException.cs,1.5,1.6 RankException.cs,1.5,1.6 RuntimeFieldHandle.cs,1.4,1.5 RuntimeMethodHandle.cs,1.6,1.7 RuntimeTypeHandle.cs,1.4,1.5 StackOverflowException.cs,1.5,1.6 SystemException.cs,1.9,1.10 TypeInitializationException.cs,1.5,1.6 TypeLoadException.cs,1.6,1.7 TypeUnloadedException.cs,1.5,1.6 UIntPtr.cs,1.8,1.9 UnauthorizedAccessException.cs,1.5,1.6 WeakReference.cs,1.2,1.3
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlException.cs,1.5,1.6
- Index(es):