I've been in this situation before. As bad as I want to stop and give someone a piece of my mind, I just tell myself "Mistakes Happen". It isn't the best explanation of the incident, but I try to give people benefit of the doubt. I think you handled the braking well. You didn't crash, so that's at least a passing grade, right? All in all, we learn from experiences like this, which makes us better riders.