Guidelines for throwing exceptions

added by jgauffin
4/16/2013 4:52:51 PM

5 Kicks, 518 Views

Throwing exceptions is in itself trivial. Just invoke throw with an exception object. But when should you throw? Should you create a new exception or rethrow an old one? What should you include in the exception info?