[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine throw.c,1.7,1.8
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine throw.c,1.7,1.8 |
Date: |
Tue, 22 Jul 2003 19:56:32 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv16428/engine
Modified Files:
throw.c
Log Message:
Set the stack traces for the exceptions
Index: throw.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/throw.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** throw.c 15 Jul 2003 22:17:33 -0000 1.7
--- throw.c 22 Jul 2003 23:56:30 -0000 1.8
***************
*** 158,161 ****
--- 158,162 ----
paramString);
}
+ _ILSetExceptionStackTrace(thread, object);
if(!ILExecThreadHasException(thread))
{
***************
*** 186,189 ****
--- 187,191 ----
object = ILExecThreadNew(thread, "System.ArgumentNullException",
"(ToSystem.String;)V",
paramString);
+ _ILSetExceptionStackTrace(thread, object);
if(!ILExecThreadHasException(thread))
{
***************
*** 193,196 ****
--- 195,201 ----
void ILExecThreadThrowOutOfMemory(ILExecThread *thread)
{
+ /* Note: Eventhough the exception maybe of OutOfMemory, this may
+ * be an accidental error */
+ _ILSetExceptionStackTrace(thread, thread->process->outOfMemoryObject);
if(!ILExecThreadHasException(thread))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine throw.c,1.7,1.8,
Gopal.V <address@hidden> <=