--- Comment #1 from Jonathan M Davis <> 2010-11-16 20:55:47 
PST ---
I feel like a moderate idiot. I didn't realize that you could get an
exception's message by accessing its public member variable msg. So, the
situation is not quite as bad as I thought that it was. However, that doesn't
tell you which option failed to parse correctly (unless you parse the message),
which would be nice, and being able to explicitly catch GetOptException would
still be a big improvement. You can, however, wrap getopt() in a try-catch
block and print the exception's message to get something better than a generic
error message.

Regardless, I think that GetOptException would be a good addition to

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to