Simon South created THRIFT-2636:
-----------------------------------

             Summary: 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


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