Made TooManyRegistersInExpressionException use the AssemblyLine and
actually get called again; Made BadValueException use the AssemblyLine
and added missing throws for it.