Exceptions: Difference between revisions

m
clarifying title
(copy edit)
m (clarifying title)
Line 7: Line 7:
* Ensuring that the error handling code at the call sites runs under the same conditions and does the same thing. (Effectively, we are assuming that the current error handling is correct, and that replicating that behavior with exceptions will result in exception-safe code.)
* Ensuring that the error handling code at the call sites runs under the same conditions and does the same thing. (Effectively, we are assuming that the current error handling is correct, and that replicating that behavior with exceptions will result in exception-safe code.)


== Call sites that ignore return values ==
== Call sites that ignore nsresult return values ==


One case where we don't necessarily want to keep current behavior is at call sites that ignore their return values:
One case where we don't necessarily want to keep current behavior is at call sites that ignore their return values:
313

edits