The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Anything wrong with you adding the necessary exception name, recompiling and running the example again in your debugger. The only problem I can think of is if your code take 3 hours to compile (like one codebase I worked on )
Pretty much along similar lines.
Why do people still put their names / e-mails / former places of employment etc. in preamble of published software text after intentionally or "accidentally" removing all comments / functions descriptions etc ?
That happens to me. I'll write a document requested by the field service group. I send it to them. They remove the formatting, copy/paste random sentences, arbitrarily insert spelling errors, and then publish it as final documentation to our customers.