Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv561/Util
Modified Files:
EventUtils.cs
Log Message:
Remove "throw ex" code.
Index: EventUtils.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util/EventUtils.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EventUtils.cs 9 Apr 2006 07:19:00 -0000 1.5
--- EventUtils.cs 23 Jun 2008 07:21:38 -0000 1.6
***************
*** 70,74 ****
{
// unwrap the exception that actually caused the TargetInvocationException and throw that...
! throw ex.GetBaseException();
}
}
--- 70,74 ----
{
// unwrap the exception that actually caused the TargetInvocationException and throw that...
! throw ReflectionUtils.UnwrapTargetInvocationException(ex);
}
}
|