Fixed code analysis warning
Tweaked exception condition documentation