Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-39

Better exception message on converting between Json and InnerVal.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Currently, converting our inner class InnerVal into JSON is done by JSONParser.

      I think there is lack of information why Exception has been thrown when converting InnerVal into Json(see innerValToJsValue method).

      It would be better provide more informations as following.

      1. what was the innerVal value we are trying to convert.
      2. what was actual dataType of innerVal we are trying to convert.
      3. what dataType this innerVal need to be converted into in Json.

        Attachments

          Activity

            People

            • Assignee:
              steamshon Do Yung Yoon
              Reporter:
              steamshon Do Yung Yoon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: