Remove CommandError usage from rbtools.utils

Review Request #9897 — Created April 30, 2018 and submitted — Latest diff uploaded

Information

RBTools
release-1.0.x
7e54390...

Reviewers

CommandError is intended to be used only within rbtools.commands, and
it was a layering violation to use it from util code. I've swapped out
the places that raised it to instead use other, more appropriate
exception types, and then the commands that call those APIs can catch
and handle those.

  • Tested (most of) the various error conditions that caused the problems.
  • Ran unit tests.