Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2636

c_glib: ThriftApplicationException: Expose "type" and "message" properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: C glib - Library
    • Labels:
    • Environment:

      Fedora 20 64-bit on x86_64

    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              simonsouth Simon South
              Reporter:
              simonsouth Simon South
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: