r1519@opsdev009 (orig r80499): mcslee | 2008-01-30 17:49:16 -0800
Validate that throws clauses in Thrift contain only exceptions
Summary: Throwing non-exceptions, though allowed in some languages, is a weird concept and causes problems in many places. Disallow it in the Thrift compiler and throw an informative error.
Reviewed By: dreiss
Test Plan: Generate a file with an int or something in a throws clause. Peep the nice informative compiler error.
git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@778 41a61cd8-c433-0410-bb1c-e256eeef9e11