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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • C glib - Library
    • Fedora 20 64-bit on x86_64

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: