nicko       2004/06/06 18:09:08

  Modified:    src      NDC.cs
  Log:
  Updated to use SystemInfo.CreateArgumentOutOfRangeException
  
  Revision  Changes    Path
  1.6       +2 -1      logging-log4net/src/NDC.cs
  
  Index: NDC.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/NDC.cs,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NDC.cs    2 Jun 2004 15:32:05 -0000       1.5
  +++ NDC.cs    7 Jun 2004 01:09:08 -0000       1.6
  @@ -17,6 +17,7 @@
   #endregion
   
   using System;
  +
   #if !NETCF
   using System.Collections;
   #endif
  @@ -223,7 +224,7 @@
                {
                        if (maxDepth < 0)
                        {
  -                             throw new 
ArgumentOutOfRangeException("maxDepth", (object)maxDepth, "Parameter: maxDepth, 
Value: ["+maxDepth+"] out of range. Nonnegative number required");
  +                             throw 
log4net.Util.SystemInfo.CreateArgumentOutOfRangeException("maxDepth", 
(object)maxDepth, "Parameter: maxDepth, Value: ["+maxDepth+"] out of range. 
Nonnegative number required");
                        }
   
                        Stack stack = GetStack();
  
  
  

Reply via email to