Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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.