Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6625

Need to throw more informative exception for classes we can't deserialize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • native client
    • None

    Description

      When the server returns a value it can't deserialize (a weird scenario), it returns a payload with dscode set to 45 (DataSerializable) and the next byte set to dscode=43 (Class), followed by a string containing the class name.  In the client, we can't properly create an instance of this class and hand it off anywhere, since we don't have reflection in c++, but we can extract the class name, and throw an exception with a meaningful message containing the class name, rather than the generic "A message from the server could not be handled," so we should.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbender Blake Bender
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: