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 AppDomainUnloadedExce


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomainUnloadedException.cs,1.4,1.5 ApplicationException.cs,1.5,1.6 ArgumentException.cs,1.4,1.5 ArgumentNullException.cs,1.3,1.4ArgumentOutOfRangeException.cs,1.4,1.5 ArithmeticException.cs,1.3,1.4ArrayTypeMismatchException.cs,1.3,1.4 BadImageFormatException.cs,1.4,1.5 CannotUnloadAppDomainException.cs,1.3,1.4DivideByZeroException.cs,1.3,1.4 DuplicateWaitObjectException.cs,1.3,1.4 EntryPointNotFoundException.cs,1.3,1.4 Exception.cs,1.14,1.15 ExecutionEngineException.cs,1.3,1.4 FieldAccessException.cs,1.3,1.4 FormatException.cs,1.3,1.4 IndexOutOfRangeException.cs,1.3,1.4 InvalidCastException.cs,1.3,1.4InvalidOperationException.cs,1.3,1.4 InvalidProgramException.cs,1.3,1.4 MemberAccessException.cs,1.3,1.4 MethodAccessException.cs,1.3,1.4 MissingFieldException.cs,1.3,1.4 MissingMemberException.cs,1.3,1.4 MissingMethodException.cs,1.3,1.4 MulticastNotSupportedException.cs,1.2,1.3 NotFiniteNumberException.cs,1.3,1.4 NotImplementedException.cs,1.1,1.2 NotSupportedException.cs,1.3,1.4 NullReferenceException.cs,1.3,1.4 ObjectDisposedException.cs,1.3,1.4 OutOfMemoryException.cs,1.4,1.5 OverflowException.cs,1.3,1.4 RankException.cs,1.3,1.4 StackOverflowException.cs,1.3,1.4 SystemException.cs,1.7,1.8 TypeInitializationException.cs,1.3,1.4 TypeLoadException.cs,1.4,1.5 TypeUnloadedException.cs,1.3,1.4UnauthorizedAccessException.cs,1.3,1.4
Date: Fri, 04 Apr 2003 19:35:20 -0500

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

Modified Files:
        AppDomainUnloadedException.cs ApplicationException.cs 
        ArgumentException.cs ArgumentNullException.cs 
        ArgumentOutOfRangeException.cs ArithmeticException.cs 
        ArrayTypeMismatchException.cs BadImageFormatException.cs 
        CannotUnloadAppDomainException.cs DivideByZeroException.cs 
        DuplicateWaitObjectException.cs EntryPointNotFoundException.cs 
        Exception.cs ExecutionEngineException.cs 
        FieldAccessException.cs FormatException.cs 
        IndexOutOfRangeException.cs InvalidCastException.cs 
        InvalidOperationException.cs InvalidProgramException.cs 
        MemberAccessException.cs MethodAccessException.cs 
        MissingFieldException.cs MissingMemberException.cs 
        MissingMethodException.cs MulticastNotSupportedException.cs 
        NotFiniteNumberException.cs NotImplementedException.cs 
        NotSupportedException.cs NullReferenceException.cs 
        ObjectDisposedException.cs OutOfMemoryException.cs 
        OverflowException.cs RankException.cs 
        StackOverflowException.cs SystemException.cs 
        TypeInitializationException.cs TypeLoadException.cs 
        TypeUnloadedException.cs UnauthorizedAccessException.cs 
Log Message:


Add the appropriate HResult values to all exception classes.


Index: AppDomainUnloadedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomainUnloadedException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AppDomainUnloadedException.cs       29 Nov 2001 05:17:11 -0000      1.4
--- AppDomainUnloadedException.cs       5 Apr 2003 00:35:16 -0000       1.5
***************
*** 45,48 ****
--- 45,57 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131014;
+                               }
+                       }
+ 
  }; // class AppDomainUnloadedException
  

Index: ApplicationException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ApplicationException.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ApplicationException.cs     4 Apr 2003 23:29:58 -0000       1.5
--- ApplicationException.cs     5 Apr 2003 00:35:16 -0000       1.6
***************
*** 51,54 ****
--- 51,63 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131600;
+                               }
+                       }
+ 
  }; // class ApplicationException
  

Index: ArgumentException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ArgumentException.cs        28 Nov 2001 04:22:39 -0000      1.4
--- ArgumentException.cs        5 Apr 2003 00:35:16 -0000       1.5
***************
*** 76,79 ****
--- 76,88 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80070057;
+                               }
+                       }
+ 
  }; // class ArgumentException
  

Index: ArgumentNullException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentNullException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ArgumentNullException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- ArgumentNullException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 45,48 ****
--- 45,57 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004003;
+                               }
+                       }
+ 
  }; // class ArgumentNullException
  

Index: ArgumentOutOfRangeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentOutOfRangeException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ArgumentOutOfRangeException.cs      28 Nov 2001 04:22:39 -0000      1.4
--- ArgumentOutOfRangeException.cs      5 Apr 2003 00:35:16 -0000       1.5
***************
*** 78,81 ****
--- 78,90 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131502;
+                               }
+                       }
+ 
  }; // class ArgumentOutOfRangeException
  

Index: ArithmeticException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArithmeticException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ArithmeticException.cs      28 Nov 2001 04:22:39 -0000      1.3
--- ArithmeticException.cs      5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80070216;
+                               }
+                       }
+ 
  }; // class ArithmeticException
  

Index: ArrayTypeMismatchException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArrayTypeMismatchException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ArrayTypeMismatchException.cs       28 Nov 2001 04:22:39 -0000      1.3
--- ArrayTypeMismatchException.cs       5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131503;
+                               }
+                       }
+ 
  }; // class ArrayTypeMismatchException
  

Index: BadImageFormatException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/BadImageFormatException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** BadImageFormatException.cs  9 Mar 2003 07:37:08 -0000       1.4
--- BadImageFormatException.cs  5 Apr 2003 00:35:16 -0000       1.5
***************
*** 104,107 ****
--- 104,116 ----
  #endif
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x8007000b;
+                               }
+                       }
+ 
  }; // class BadImageFormatException
  

Index: CannotUnloadAppDomainException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/CannotUnloadAppDomainException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** CannotUnloadAppDomainException.cs   28 Nov 2001 04:22:39 -0000      1.3
--- CannotUnloadAppDomainException.cs   5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131015;
+                               }
+                       }
+ 
  }; // class CannotUnloadAppDomainException
  

Index: DivideByZeroException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DivideByZeroException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** DivideByZeroException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- DivideByZeroException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80020012;
+                               }
+                       }
+ 
  }; // class DivideByZeroException
  

Index: DuplicateWaitObjectException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/DuplicateWaitObjectException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** DuplicateWaitObjectException.cs     28 Nov 2001 04:22:39 -0000      1.3
--- DuplicateWaitObjectException.cs     5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131529;
+                               }
+                       }
+ 
  }; // class DuplicateWaitObjectException
  

Index: EntryPointNotFoundException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/EntryPointNotFoundException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** EntryPointNotFoundException.cs      28 Nov 2001 04:22:39 -0000      1.3
--- EntryPointNotFoundException.cs      5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131523;
+                               }
+                       }
+ 
  }; // class EntryPointNotFoundException
  

Index: Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Exception.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** Exception.cs        4 Apr 2003 23:29:58 -0000       1.14
--- Exception.cs        5 Apr 2003 00:35:16 -0000       1.15
***************
*** 2,6 ****
   * Exception.cs - Implementation of the "System.Exception" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * Exception.cs - Implementation of the "System.Exception" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 44,47 ****
--- 44,49 ----
  the stack trace.
  
+ A similar approach is used to get the HResult values.
+ 
  This design is cleaner to implement throughout the library.  Because the
  extra properties are "protected internal", they will not pollute the
***************
*** 59,62 ****
--- 61,68 ----
        private String source;
        private PackedStackFrame[] stackTrace;
+ #if !ECMA_COMPAT
+       private int hresult;
+       private bool hresultSet;
+ #endif
  
        // Constructors.
***************
*** 177,180 ****
--- 183,205 ----
  
        // Properties.
+ #if !ECMA_COMPAT
+       protected int HResult
+               {
+                       get
+                       {
+                               if(!hresultSet)
+                               {
+                                       hresult = (int)HResultDefault;
+                                       hresultSet = true;
+                               }
+                               return hresult;
+                       }
+                       set
+                       {
+                               hresult = value;
+                               hresultSet = true;
+                       }
+               }
+ #endif
        public virtual String HelpLink
                {
***************
*** 283,286 ****
--- 308,320 ----
                }
        
+       // Get the default HResult value for this type of exception.
+       protected internal virtual uint HResultDefault
+               {
+                       get
+                       {
+                               return 0x80131500;
+                       }
+               }
+ 
  #if !ECMA_COMPAT
        [TODO]

Index: ExecutionEngineException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ExecutionEngineException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ExecutionEngineException.cs 28 Nov 2001 04:22:39 -0000      1.3
--- ExecutionEngineException.cs 5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131506;
+                               }
+                       }
+ 
  }; // class ExecutionEngineException
  

Index: FieldAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/FieldAccessException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FieldAccessException.cs     28 Nov 2001 04:22:39 -0000      1.3
--- FieldAccessException.cs     5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131507;
+                               }
+                       }
+ 
  }; // class FieldAccessException
  

Index: FormatException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/FormatException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FormatException.cs  28 Nov 2001 04:22:39 -0000      1.3
--- FormatException.cs  5 Apr 2003 00:35:16 -0000       1.4
***************
*** 42,45 ****
--- 42,54 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131537;
+                               }
+                       }
+ 
  }; // class FormatException
  

Index: IndexOutOfRangeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/IndexOutOfRangeException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** IndexOutOfRangeException.cs 28 Nov 2001 04:22:39 -0000      1.3
--- IndexOutOfRangeException.cs 5 Apr 2003 00:35:16 -0000       1.4
***************
*** 42,45 ****
--- 42,54 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131508;
+                               }
+                       }
+ 
  }; // class IndexOutOfRangeException
  

Index: InvalidCastException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidCastException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** InvalidCastException.cs     28 Nov 2001 04:22:39 -0000      1.3
--- InvalidCastException.cs     5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004002;
+                               }
+                       }
+ 
  }; // class InvalidCastException
  

Index: InvalidOperationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidOperationException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** InvalidOperationException.cs        28 Nov 2001 04:22:39 -0000      1.3
--- InvalidOperationException.cs        5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131509;
+                               }
+                       }
+ 
  }; // class InvalidOperationException
  

Index: InvalidProgramException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/InvalidProgramException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** InvalidProgramException.cs  28 Nov 2001 04:22:39 -0000      1.3
--- InvalidProgramException.cs  5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x8013153a;
+                               }
+                       }
+ 
  }; // class InvalidProgramException
  

Index: MemberAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MemberAccessException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MemberAccessException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- MemberAccessException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x8013151a;
+                               }
+                       }
+ 
  }; // class MemberAccessException
  

Index: MethodAccessException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MethodAccessException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MethodAccessException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- MethodAccessException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131510;
+                               }
+                       }
+ 
  }; // class MethodAccessException
  

Index: MissingFieldException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingFieldException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MissingFieldException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- MissingFieldException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131511;
+                               }
+                       }
+ 
  }; // class MissingFieldException
  

Index: MissingMemberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMemberException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MissingMemberException.cs   28 Nov 2001 04:22:39 -0000      1.3
--- MissingMemberException.cs   5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131512;
+                               }
+                       }
+ 
  }; // class MissingMemberException
  

Index: MissingMethodException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMethodException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** MissingMethodException.cs   28 Nov 2001 04:22:39 -0000      1.3
--- MissingMethodException.cs   5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131513;
+                               }
+                       }
+ 
  }; // class MissingMethodException
  

Index: MulticastNotSupportedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MulticastNotSupportedException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** MulticastNotSupportedException.cs   28 Nov 2001 04:22:39 -0000      1.2
--- MulticastNotSupportedException.cs   5 Apr 2003 00:35:16 -0000       1.3
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131514;
+                               }
+                       }
+ 
  }; // class MulticastNotSupportedException
  

Index: NotFiniteNumberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotFiniteNumberException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** NotFiniteNumberException.cs 28 Nov 2001 04:22:39 -0000      1.3
--- NotFiniteNumberException.cs 5 Apr 2003 00:35:16 -0000       1.4
***************
*** 61,64 ****
--- 61,73 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131528;
+                               }
+                       }
+ 
  }; // class NotFiniteNumberException
  

Index: NotImplementedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotImplementedException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** NotImplementedException.cs  18 Jun 2002 01:48:43 -0000      1.1
--- NotImplementedException.cs  5 Apr 2003 00:35:16 -0000       1.2
***************
*** 47,50 ****
--- 47,59 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004001;
+                               }
+                       }
+ 
  }; // class NotImplementedException
  

Index: NotSupportedException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/NotSupportedException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** NotSupportedException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- NotSupportedException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131515;
+                               }
+                       }
+ 
  }; // class NotSupportedException
  

Index: NullReferenceException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/NullReferenceException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** NullReferenceException.cs   28 Nov 2001 04:22:39 -0000      1.3
--- NullReferenceException.cs   5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80004003;
+                               }
+                       }
+ 
  }; // class NullReferenceException
  

Index: ObjectDisposedException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ObjectDisposedException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ObjectDisposedException.cs  28 Nov 2001 04:22:39 -0000      1.3
--- ObjectDisposedException.cs  5 Apr 2003 00:35:16 -0000       1.4
***************
*** 67,70 ****
--- 67,79 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131509;
+                               }
+                       }
+ 
  }; // class ObjectDisposedException
  

Index: OutOfMemoryException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/OutOfMemoryException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** OutOfMemoryException.cs     28 Nov 2001 04:22:39 -0000      1.4
--- OutOfMemoryException.cs     5 Apr 2003 00:35:16 -0000       1.5
***************
*** 50,53 ****
--- 50,62 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x8007000e;
+                               }
+                       }
+ 
  }; // class OutOfMemoryException
  

Index: OverflowException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/OverflowException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** OverflowException.cs        28 Nov 2001 04:22:39 -0000      1.3
--- OverflowException.cs        5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131516;
+                               }
+                       }
+ 
  }; // class OverflowException
  

Index: RankException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/RankException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** RankException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- RankException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 42,45 ****
--- 42,54 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131517;
+                               }
+                       }
+ 
  }; // class RankException
  

Index: StackOverflowException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/StackOverflowException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** StackOverflowException.cs   28 Nov 2001 04:22:39 -0000      1.3
--- StackOverflowException.cs   5 Apr 2003 00:35:16 -0000       1.4
***************
*** 50,53 ****
--- 50,62 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x800703e9;
+                               }
+                       }
+ 
  }; // class StackOverflowException
  

Index: SystemException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/SystemException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** SystemException.cs  4 Apr 2003 23:29:58 -0000       1.7
--- SystemException.cs  5 Apr 2003 00:35:16 -0000       1.8
***************
*** 54,57 ****
--- 54,66 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131501;
+                               }
+                       }
+ 
  }; // class SystemException
  

Index: TypeInitializationException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeInitializationException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** TypeInitializationException.cs      28 Nov 2001 04:22:39 -0000      1.3
--- TypeInitializationException.cs      5 Apr 2003 00:35:16 -0000       1.4
***************
*** 69,72 ****
--- 69,81 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131534;
+                               }
+                       }
+ 
  }; // class TypeInitializationException
  

Index: TypeLoadException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeLoadException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TypeLoadException.cs        28 Nov 2001 04:22:39 -0000      1.4
--- TypeLoadException.cs        5 Apr 2003 00:35:16 -0000       1.5
***************
*** 79,82 ****
--- 79,91 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131522;
+                               }
+                       }
+ 
  }; // class TypeLoadException
  

Index: TypeUnloadedException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeUnloadedException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** TypeUnloadedException.cs    28 Nov 2001 04:22:39 -0000      1.3
--- TypeUnloadedException.cs    5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80131013;
+                               }
+                       }
+ 
  }; // class TypeUnloadedException
  

Index: UnauthorizedAccessException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/UnauthorizedAccessException.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** UnauthorizedAccessException.cs      28 Nov 2001 04:22:39 -0000      1.3
--- UnauthorizedAccessException.cs      5 Apr 2003 00:35:16 -0000       1.4
***************
*** 43,46 ****
--- 43,55 ----
                        }
  
+       // Get the default HResult value for this type of exception.
+       protected internal override uint HResultDefault
+                       {
+                               get
+                               {
+                                       return 0x80070005;
+                               }
+                       }
+ 
  }; // class UnauthorizedAccessException
  





reply via email to

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