James E. King, III created THRIFT-3982:
------------------------------------------

             Summary: Thrift compiler code throws std::string to indicate an 
error, which is not safe
                 Key: THRIFT-3982
                 URL: https://issues.apache.org/jira/browse/THRIFT-3982
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (General)
    Affects Versions: 0.9.3, 0.10.0
            Reporter: James E. King, III
            Priority: Minor


The thrift compiler code throws std::string to indicate an error.  This does 
not conform to normal exception handling patterns, and is unsafe (as 
std::string can itself throw).

Acceptance Criteria:

# The compiler uses exceptions derived from std::exception to indicate an 
exceptional issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to