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 (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/23 00:26:40 UTC
[jira] [Issue Comment Edited] (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:comment-tabpanel&focusedCommentId=13155559#comment-13155559 ]
Jens Geyer edited comment on THRIFT-1435 at 11/22/11 11:26 PM:
---------------------------------------------------------------
Patch:
- Library: procedure TException.Message made a function, allows reads, but still prevents writes
- Library: new method UpdateMessageProperty added, shpudl be called when setup of the exception object is complete (exception factory does this automatically)
- CodeGen: toString()-support added for Exception objects
- CodeGen: call to UpdateMessageProperty added in the Exception factory method CreateException
was (Author: jensg):
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