You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Updated) (JIRA)" <ji...@apache.org> on 2011/11/23 00:26:39 UTC
[jira] [Updated] (THRIFT-1435) make TException.Message property
conformant to the usual expectations
[ https://issues.apache.org/jira/browse/THRIFT-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-1435:
-------------------------------
Attachment: THRIFT-1435_make_TException.Message_property_conformant_to_the_usual_expectations.patch
Patch:
- Library: procedure TException.Message made a function, allows reads, but still prevents writes
- Library: new method UpdateMessageProperty added, to be called when setup of the exception object has finished
- CodeGen: toString()-support added for Exception objects
- CodeGen: call to UpdateMessageProperty added in the Exception factory method CreateException
> make TException.Message property conformant to the usual expectations
> ---------------------------------------------------------------------
>
> Key: THRIFT-1435
> URL: https://issues.apache.org/jira/browse/THRIFT-1435
> Project: Thrift
> Issue Type: Improvement
> Components: Delphi - Compiler, Delphi - Library
> Affects Versions: 0.8
> Reporter: Jens Geyer
> Attachments: THRIFT-1435_make_TException.Message_property_conformant_to_the_usual_expectations.patch
>
>
> In Delphi, Exceptions are expected to return a suitable error message when e.message is being read. In contrast, all Thrift TExceptions did not support this standard behaviour very well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira