JSONParseException class not public

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.7
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      JSON.parse() can throw a JSONParseException, but that exception can't specifically be caught by any code not in the com.mongodb.util package because the exception is package-private. It would be nice to catch parse exceptions (versus other random exceptions) and handle them differently, ideally returning JSONParseException.getMessage() to the user.

            Assignee:
            Scott Hernandez (Inactive)
            Reporter:
            Jared D. Cottrell
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: