[ 
https://issues.apache.org/jira/browse/THRIFT-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073738#comment-14073738
 ] 

Hudson commented on THRIFT-2636:
--------------------------------

FAILURE: Integrated in Thrift #1229 (See 
[https://builds.apache.org/job/Thrift/1229/])
THRIFT-2636 c_glib: ThriftApplicationException: Expose "type" and "message" 
properties (roger: rev 909f186fa6a68b0ec187aa6b0588ea2b899ea59b)
* lib/c_glib/test/Makefile.am
* lib/c_glib/test/testapplicationexception.c
* lib/c_glib/src/thrift/c_glib/thrift_application_exception.h
* lib/c_glib/src/thrift/c_glib/thrift_application_exception.c


> 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)

Reply via email to