This is probably a simple and/or dumb question. I have some code in a try/catch block but it still triggers an exception in VS2022, see image. The exception message is crystal clear, and kind of expected, but I fail to understand why it does not just execute my
catch()
code. Most likely I'm overlooking something obvious... Any ideas ?