~zorba-coders/zorba/bug1151967

Viewing all changes in revision 11464.

  • Committer: Zorba Build Bot
  • Author(s): paul at lucasmail
  • Date: 2013-05-21 00:25:22 UTC
  • mfrom: (11459.1.9 bug-1178322)
  • Revision ID: chillery+buildbot@lambda.nu-20130521002522-hmyrnb8l9tzst8zh
Undid some of my previous changes regarding which std exception is thrown by IntegerImpl.  Now, invalid_argument is used when the argument is not a valid integer; range_error is used when the value is a valid integer, but out of range for the type (or a valid floating point constant like INF). Generally, invalid_argument will map to FOCA0002 and range_error will map to FORG0001.

This fixes several "wrongError" FOTS tests. Approved: Matthias Brantner, Paul J. Lucas

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: