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
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: