by Euo
13. May 2010 20:10
In .NET programming most common mistake is rethrowing an exception. So, how throw and throw ex differs?
throw ex overrides the original stacktrace and the point where exception is rethrown becomes the exception's origin while plain throw preserved the original stacktrace information and it must be used to re-throw a .NET exception.
e9301edd-5118-4849-a793-70307cfb7483|0|.0
Tags:
Development