lp:~zorba-coders/zorba/bug-1103115
Created by
Paul J. Lucas
and last modified
- Get this branch:
- bzr branch lp:~zorba-coders/zorba/bug-1103115
Members of
Zorba Coders
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Matthias Brantner: Approve
- Paul J. Lucas: Approve
-
Diff: 1341 lines (+434/-330)20 files modifiedChangeLog (+1/-0)
include/zorba/dynamic_context.h (+4/-3)
include/zorba/item_factory.h (+6/-6)
src/api/itemfactoryimpl.cpp (+6/-8)
src/api/itemfactoryimpl.h (+3/-3)
src/context/dynamic_context.cpp (+1/-1)
src/runtime/datetime/datetime_impl.cpp (+5/-5)
src/runtime/durations_dates_times/format_dateTime.cpp (+2/-2)
src/store/api/item_factory.h (+9/-6)
src/store/naive/simple_item_factory.cpp (+6/-6)
src/store/naive/simple_item_factory.h (+3/-3)
src/util/hash/hash.h (+2/-0)
src/zorbaserialization/serialize_zorba_types.cpp (+2/-2)
src/zorbatypes/CMakeLists.txt (+2/-1)
src/zorbatypes/datetime/CMakeLists.txt (+3/-3)
src/zorbatypes/datetime/datetimetype.cpp (+37/-36)
src/zorbatypes/datetime/duration.cpp (+3/-4)
src/zorbatypes/timezone.cpp (+150/-180)
src/zorbatypes/timezone.h (+187/-59)
test/api/itemfactory.cpp (+2/-2)
Branch information
Recent revisions
- 11464. By [u'Paul J. Lucas <email address hidden>']
-
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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:zorba