Skip to content

Why don't methods in JsonPath throw PathNotFoundException with the not-found path in the message? #1053

@erizzo-cfa

Description

@erizzo-cfa

The set, put, map, add, delete methods in JsonPath all throw PathNotFoundException with no details in the exception message. This make it very hard to troubleshoot, not having any context to go with the error. Is there a reason the default PathNotFoundException is used instead of providing details in the exception message? Other places in the code include details about the offending path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions