dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization SerializationException.cs,1.3,1.4
Date: Mon, 07 Apr 2003 00:22:54 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization
In directory subversions:/tmp/cvs-serv26075/runtime/System/Runtime/Serialization

Modified Files:
        SerializationException.cs 
Log Message:


Add serialization support to all of the exception classes in "runtime".


Index: SerializationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization/SerializationException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** SerializationException.cs   5 Apr 2003 06:58:12 -0000       1.3
--- SerializationException.cs   7 Apr 2003 04:22:52 -0000       1.4
***************
*** 3,7 ****
   *                    "System.Runtime.Serialization.SerializationException" 
class.
   *
!  * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Runtime.Serialization.SerializationException" 
class.
   *
!  * Copyright (C) 2002, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 23,26 ****
--- 23,30 ----
  {
  
+ #if !ECMA_COMPAT
+ 
+ using System.Runtime.Serialization;
+ 
  public class SerializationException : SystemException
  {
***************
*** 32,36 ****
        public SerializationException(String msg, Exception inner)
                : base(msg, inner) {}
! 
  
        // Get the default message to use for this exception type.
--- 36,42 ----
        public SerializationException(String msg, Exception inner)
                : base(msg, inner) {}
!       protected SerializationException(SerializationInfo info,
!                                                                        
StreamingContext context)
!               : base(info, context) {}
  
        // Get the default message to use for this exception type.
***************
*** 53,56 ****
--- 59,64 ----
  
  }; // class SerializationException
+ 
+ #endif // !ECMA_COMPAT
  
  }; // namespace System.Runtime.Serialization





reply via email to

[Prev in Thread] Current Thread [Next in Thread]