aaf66705e1
In the cases addressed here, the caught exception was being "handled" by throwing some new exception. Instead of discarding the old exception, pass it to the new exception's constructor to indicate the original cause of the newly-created exception. This practice, called "exception chaining", can often be useful in debugging. |
||
---|---|---|
.. | ||
ibm/wala |