There are many cases in the Ice for C# source code where exceptions are re-thrown using this syntax:
whereas the usual syntax would be:Code:catch (SomeException ex) { throw ex; }
The difference is that in the first version, the existing stack trace is thrown away and the point of re-throwing is considered the new origin of the exception.Code:catch (SomeException ex) { throw; }
Is this intentional (why?), or just an artifact of porting from Java, where this difference does not exist (AFAIK)?
Karl

Reply With Quote