@B338:R Changed to throw exception with relevant error messages.
@B338:R Fixed a runtime error.  Tweaked error messages.