Using exceptions instead of boolean return codes.