S
sternr
Hey,
I use the following code:
try
{
//Some code that has an exception
}
catch (Exception ex)
{
if (ex.innerException!=null) {throw ex.innerException;}
}
All works well, but the problem is that the exception's stacktrace is
changed because of the throw!
Is there a way to throw an exception WITHOUT changing it's stacktrace?
Thanks ahead
--sternr
I use the following code:
try
{
//Some code that has an exception
}
catch (Exception ex)
{
if (ex.innerException!=null) {throw ex.innerException;}
}
All works well, but the problem is that the exception's stacktrace is
changed because of the throw!
Is there a way to throw an exception WITHOUT changing it's stacktrace?
Thanks ahead
--sternr