You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2014/07/25 00:00:39 UTC
[jira] [Resolved] (THRIFT-2636) c_glib: ThriftApplicationException:
Expose "type" and "message" properties
[ https://issues.apache.org/jira/browse/THRIFT-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-2636.
---------------------------------
Resolution: Fixed
Assignee: Simon South
Thanks Simon
committed
-roger
> c_glib: ThriftApplicationException: Expose "type" and "message" properties
> --------------------------------------------------------------------------
>
> Key: THRIFT-2636
> URL: https://issues.apache.org/jira/browse/THRIFT-2636
> Project: Thrift
> Issue Type: Improvement
> Components: C glib - Library
> Affects Versions: 0.9.1
> Environment: Fedora 20 64-bit on x86_64
> Reporter: Simon South
> Assignee: Simon South
> Priority: Minor
> Labels: c_glib, library
> Attachments: thrift-2636-thrift-application-exception-expose-properties.patch
>
>
> The ThriftApplicationException class has "type" and "message" fields, but these are not exposed as GObject properties. Instead clients are expected to modify the object's member variables directly—a bad practice.
> The attached patch exposes the two fields as GObject properties (and adds relevant test cases), allowing clients to set and access these fields in a conventional manner.
--
This message was sent by Atlassian JIRA
(v6.2#6252)