You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Tod Morrison (Jira)" <ji...@apache.org> on 2021/06/18 19:08:00 UTC

[jira] [Comment Edited] (GEODE-9384) Fix exception messages in PdxToJSON and JsonWriter, such as writeValue, to correct typos and include class name

    [ https://issues.apache.org/jira/browse/GEODE-9384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364439#comment-17364439 ] 

Tod Morrison edited comment on GEODE-9384 at 6/18/21, 7:07 PM:
---------------------------------------------------------------

PR submitted


was (Author: tmorrison):
Diff attached, or I can do a PR.

> Fix exception messages in PdxToJSON and JsonWriter, such as writeValue, to correct typos and include class name
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-9384
>                 URL: https://issues.apache.org/jira/browse/GEODE-9384
>             Project: Geode
>          Issue Type: Bug
>          Components: serialization
>    Affects Versions: 1.13.2
>            Reporter: Tod Morrison
>            Priority: Trivial
>
> The exception message for PdxToJSON.writeValue has a typo *and* prints the *value* rather than the type of the unsupported type:
> PdxInstance returns unknwon pdxfield SomeField for type SomeValue
> A better message would be more helpful in diagnosing the cause.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)