Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Aop/Framework/Adapter
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv32205
Modified Files:
ThrowsAdviceInterceptor.cs
Log Message:
Remove "throw ex" code.
Index: ThrowsAdviceInterceptor.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Aop/Aop/Framework/Adapter/ThrowsAdviceInterceptor.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ThrowsAdviceInterceptor.cs 4 May 2007 13:16:44 -0000 1.8
--- ThrowsAdviceInterceptor.cs 23 Jun 2008 07:19:51 -0000 1.9
***************
*** 234,238 ****
{
LookupAndInvokeAnyHandler(ex, invocation);
! throw ex;
}
}
--- 234,238 ----
{
LookupAndInvokeAnyHandler(ex, invocation);
! throw;
}
}
***************
*** 313,317 ****
catch (TargetInvocationException ex)
{
! throw ex.InnerException;
}
}
--- 313,317 ----
catch (TargetInvocationException ex)
{
! throw ReflectionUtils.UnwrapTargetInvocationException(ex);
}
}
|