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 Exception.cs,1.18,1.19


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Exception.cs,1.18,1.19
Date: Tue, 15 Apr 2003 20:40:37 -0400

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

Modified Files:
        Exception.cs 
Log Message:


Don't load the stack trace in the "Exception" constructor, because the
runtime engine now sets the stack trace when the exception object is thrown.


Index: Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Exception.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** Exception.cs        15 Apr 2003 04:37:44 -0000      1.18
--- Exception.cs        16 Apr 2003 00:40:35 -0000      1.19
***************
*** 80,92 ****
                        message = msg;
                        innerException = inner;
-                       try
-                       {
-                               stackTrace = 
StackFrame.GetExceptionStackTrace();
-                       }
-                       catch(NotImplementedException)
-                       {
-                               // The runtime engine does not have 
"GetExceptionStackTrace".
-                               stackTrace = null;
-                       }
                }
  #if !ECMA_COMPAT
--- 80,83 ----





reply via email to

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