[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Synchronizat
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading SynchronizationLockException.cs,1.5,1.6ThreadAbortException.cs,1.4,1.5 ThreadInterruptedException.cs,1.5,1.6ThreadStateException.cs,1.5,1.6 |
Date: |
Mon, 07 Apr 2003 00:22:55 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading
In directory subversions:/tmp/cvs-serv26075/runtime/System/Threading
Modified Files:
SynchronizationLockException.cs ThreadAbortException.cs
ThreadInterruptedException.cs ThreadStateException.cs
Log Message:
Add serialization support to all of the exception classes in "runtime".
Index: SynchronizationLockException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/SynchronizationLockException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** SynchronizationLockException.cs 5 Apr 2003 06:58:12 -0000 1.5
--- SynchronizationLockException.cs 7 Apr 2003 04:22:52 -0000 1.6
***************
*** 3,7 ****
* "System.Threading.SynchronizationLockException" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 3,7 ----
* "System.Threading.SynchronizationLockException" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 23,26 ****
--- 23,28 ----
{
+ using System.Runtime.Serialization;
+
public class SynchronizationLockException : SystemException
{
***************
*** 33,36 ****
--- 35,43 ----
public SynchronizationLockException(String msg, Exception inner)
: base(msg, inner) {}
+ #if !ECMA_COMPAT
+ protected SynchronizationLockException(SerializationInfo info,
+
StreamingContext context)
+ : base(info, context) {}
+ #endif
// Get the default message to use for this exception type.
Index: ThreadAbortException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadAbortException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ThreadAbortException.cs 5 Apr 2003 06:58:13 -0000 1.4
--- ThreadAbortException.cs 7 Apr 2003 04:22:52 -0000 1.5
***************
*** 3,7 ****
* "System.Threading.ThreadAbortException" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 3,7 ----
* "System.Threading.ThreadAbortException" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 23,26 ****
--- 23,28 ----
{
+ using System.Runtime.Serialization;
+
public sealed class ThreadAbortException : SystemException
{
***************
*** 34,37 ****
--- 36,44 ----
this.stateInfo = stateInfo;
}
+ #if !ECMA_COMPAT
+ internal ThreadAbortException(SerializationInfo info,
+
StreamingContext context)
+ : base(info, context) {}
+ #endif
// Get the exception state.
Index: ThreadInterruptedException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadInterruptedException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ThreadInterruptedException.cs 5 Apr 2003 06:58:13 -0000 1.5
--- ThreadInterruptedException.cs 7 Apr 2003 04:22:52 -0000 1.6
***************
*** 3,7 ****
* "System.Threading.ThreadInterruptedException" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 3,7 ----
* "System.Threading.ThreadInterruptedException" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 23,26 ****
--- 23,28 ----
{
+ using System.Runtime.Serialization;
+
public class ThreadInterruptedException : SystemException
{
***************
*** 33,36 ****
--- 35,43 ----
public ThreadInterruptedException(String msg, Exception inner)
: base(msg, inner) {}
+ #if !ECMA_COMPAT
+ protected ThreadInterruptedException(SerializationInfo info,
+
StreamingContext context)
+ : base(info, context) {}
+ #endif
// Get the default message to use for this exception type.
Index: ThreadStateException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Threading/ThreadStateException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ThreadStateException.cs 5 Apr 2003 06:58:13 -0000 1.5
--- ThreadStateException.cs 7 Apr 2003 04:22:52 -0000 1.6
***************
*** 3,7 ****
* "System.Threading.ThreadStateException" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 3,7 ----
* "System.Threading.ThreadStateException" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 23,26 ****
--- 23,28 ----
{
+ using System.Runtime.Serialization;
+
public class ThreadStateException : SystemException
{
***************
*** 33,36 ****
--- 35,43 ----
public ThreadStateException(String msg, Exception inner)
: base(msg, inner) {}
+ #if !ECMA_COMPAT
+ protected ThreadStateException(SerializationInfo info,
+
StreamingContext context)
+ : base(info, context) {}
+ #endif
// Get the default message to use for this exception type.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading SynchronizationLockException.cs,1.5,1.6ThreadAbortException.cs,1.4,1.5 ThreadInterruptedException.cs,1.5,1.6ThreadStateException.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.4,1.5 VerificationException.cs,1.3,1.4 XmlSyntaxException.cs,1.3,1.4
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryNotFoundException.cs,1.4,1.5 EndOfStreamException.cs,1.4,1.5 FileLoadException.cs,1.6,1.7 FileNotFoundException.cs,1.7,1.8 IOException.cs,1.6,1.7 PathTooLongException.cs,1.4,1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.4,1.5 VerificationException.cs,1.3,1.4 XmlSyntaxException.cs,1.3,1.4
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryNotFoundException.cs,1.4,1.5 EndOfStreamException.cs,1.4,1.5 FileLoadException.cs,1.6,1.7 FileNotFoundException.cs,1.7,1.8 IOException.cs,1.6,1.7 PathTooLongException.cs,1.4,1.5
- Index(es):