The guy writes some good info here; but the question remains: how should a good developer implement the code to ensure exceptions are properly handled?

I think we have to change our mind from thinking “in error codes” to “thinking in exceptions”. That means: at every operation, instead of thinking of checking the error code, thinking of catching the possible exceptions. The resulted code will be more complicated, but, after writing a sequence of code, we can refactor it and consolidate the catch statements.

Also see