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/Reflection AmbiguousMa


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.5,1.6 TargetException.cs,1.5,1.6 TargetInvocationException.cs,1.5,1.6 TargetParameterCountException.cs,1.5,1.6
Date: Mon, 07 Apr 2003 00:22:54 -0400

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

Modified Files:
        AmbiguousMatchException.cs TargetException.cs 
        TargetInvocationException.cs TargetParameterCountException.cs 
Log Message:


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


Index: AmbiguousMatchException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/AmbiguousMatchException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AmbiguousMatchException.cs  5 Apr 2003 06:58:12 -0000       1.5
--- AmbiguousMatchException.cs  7 Apr 2003 04:22:51 -0000       1.6
***************
*** 3,7 ****
   *                    "System.Reflection.AmbiguousMatchException" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Reflection.AmbiguousMatchException" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 24,27 ****
--- 24,28 ----
  
  using System;
+ using System.Runtime.Serialization;
  
  public sealed class AmbiguousMatchException : SystemException
***************
*** 35,38 ****
--- 36,44 ----
        public AmbiguousMatchException(String msg, Exception inner)
                : base(msg, inner) {}
+ #if !ECMA_COMPAT
+       internal AmbiguousMatchException(SerializationInfo info,
+                                                                        
StreamingContext context)
+               : base(info, context) {}
+ #endif
  
        // Get the default message to use for this exception type.

Index: TargetException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** TargetException.cs  5 Apr 2003 06:58:12 -0000       1.5
--- TargetException.cs  7 Apr 2003 04:22:51 -0000       1.6
***************
*** 3,7 ****
   *                    "System.Reflection.TargetException" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Reflection.TargetException" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 24,27 ****
--- 24,28 ----
  
  using System;
+ using System.Runtime.Serialization;
  
  public class TargetException : ApplicationException
***************
*** 35,38 ****
--- 36,43 ----
        public TargetException(String msg, Exception inner)
                : base(msg, inner) {}
+ #if !ECMA_COMPAT
+       protected TargetException(SerializationInfo info, StreamingContext 
context)
+               : base(info, context) {}
+ #endif
  
        // Get the default message to use for this exception type.

Index: TargetInvocationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetInvocationException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** TargetInvocationException.cs        5 Apr 2003 06:58:12 -0000       1.5
--- TargetInvocationException.cs        7 Apr 2003 04:22:51 -0000       1.6
***************
*** 3,7 ****
   *                    "System.Reflection.TargetInvocationException" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Reflection.TargetInvocationException" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 24,27 ****
--- 24,28 ----
  
  using System;
+ using System.Runtime.Serialization;
  
  public sealed class TargetInvocationException : ApplicationException
***************
*** 36,41 ****
                : base(msg, inner) {}
        public TargetInvocationException(Exception inner)
!               : base(_("Exception_TargetInvoke"), inner)
!               {}
  
        // Get the default message to use for this exception type.
--- 37,46 ----
                : base(msg, inner) {}
        public TargetInvocationException(Exception inner)
!               : base(_("Exception_TargetInvoke"), inner) {}
! #if !ECMA_COMPAT
!       internal TargetInvocationException(SerializationInfo info,
!                                                                          
StreamingContext context)
!               : base(info, context) {}
! #endif
  
        // Get the default message to use for this exception type.

Index: TargetParameterCountException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Reflection/TargetParameterCountException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** TargetParameterCountException.cs    5 Apr 2003 06:58:12 -0000       1.5
--- TargetParameterCountException.cs    7 Apr 2003 04:22:51 -0000       1.6
***************
*** 3,7 ****
   *                    "System.Reflection.TargetParameterCountException" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *                    "System.Reflection.TargetParameterCountException" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 24,27 ****
--- 24,28 ----
  
  using System;
+ using System.Runtime.Serialization;
  
  public sealed class TargetParameterCountException : ApplicationException
***************
*** 35,38 ****
--- 36,44 ----
        public TargetParameterCountException(String msg, Exception inner)
                : base(msg, inner) {}
+ #if !ECMA_COMPAT
+       internal TargetParameterCountException(SerializationInfo info,
+                                                                               
   StreamingContext context)
+               : base(info, context) {}
+ #endif
  
        // Get the default message to use for this exception type.





reply via email to

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