Change FBString's #define throw
authorNicholas Ormrod <njormrod@fb.com>
Wed, 16 Oct 2013 00:02:24 +0000 (17:02 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 24 Oct 2013 21:53:41 +0000 (14:53 -0700)
commitb604632b63336e331f51ec7aa323c7377da51896
treee4bb16766c25c3e6065853bdd70152ba98396d24
parent8c13c0b9ebf03cfd37d951efc88f43caaa18c051
Change FBString's #define throw

Summary:
Instead of defining throw to nothing, define it to something
which creates a grepable error message (re @tudorb in D1005889).

@override-unit-failures

Test Plan:
fbconfig -r folly
fbmake dbg && fbmake runtests && fbmake opt && fbmake runtests_opt

All tests passing.

Added throw to a few places in FBString; noticed that error messages
were produced, and that they contained the defined text. Those changes
not committed.

Reviewed By: tudorb@fb.com

FB internal diff: D1011963
folly/FBString.h