J
Joe Van Dyk
Hi,
When should you define your own exceptions? Any rules of thumb?
I'm writing an application that runs on a computer and listens for
requests to start, kill, and view log files for other applications on
that computer. Say I get a request to start an application on that
computer and the requested executable doesn't exist. Should I throw a
custom exception then? Or, say an application dies unexpectedly.=20
What should I use for an exception then?
Thanks,
Joe
When should you define your own exceptions? Any rules of thumb?
I'm writing an application that runs on a computer and listens for
requests to start, kill, and view log files for other applications on
that computer. Say I get a request to start an application on that
computer and the requested executable doesn't exist. Should I throw a
custom exception then? Or, say an application dies unexpectedly.=20
What should I use for an exception then?
Thanks,
Joe