[
https://issues.apache.org/jira/browse/THRIFT-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon South updated THRIFT-2636:
--------------------------------
Attachment: thrift-2636-thrift-application-exception-expose-properties.patch
> 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
> 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)