Paul Clapham wrote:You can put a breakpoint for your debugger at the "throw".
It's easier to modify that code to log the error at that point.
There's probably other advantages, but nothing outstandingly great.
So other than as a placeholder or a debugging aid, there's no benefit? That's what I assumed, but I wasn't sure.
I wonder if the compiler optimizes it out?
Thanks!