How to tell when an exception class is thrown

G

Guest

Is there anyway to tell from inside an exception class when it is thrown?
I'd like to add logging to my application whenever a certain exception is
thrown. I don't want to have to add the logging code everywhere the
exception is caught.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top