When is it OK to use exception handling for business logic?
Whenever the exception can be anticipated but not avoided. Say, if you are relying on an external API of some sort to parse data, and that API offers parse methods but nothing to tell whether a given input can be parsed or not (or if whether the parse can succeed or not depends on factors … Read more