Skip to content

Document JsonPath.compile exceptions - #1096

Open
hutiefang76 wants to merge 1 commit into
json-path:masterfrom
hutiefang76:frank/docs-jsonpath1051-compile-exceptions-20261128
Open

hutiefang76 wants to merge 1 commit into
json-path:masterfrom
hutiefang76:frank/docs-jsonpath1051-compile-exceptions-20261128

Conversation

@hutiefang76

Copy link
Copy Markdown

Related to #1051.

Add two @throws entries to JsonPath.compile documenting the existing InvalidPathException when a path cannot be compiled and IllegalArgumentException for a null or empty path. The method signature and runtime code are unchanged.

Validation on JDK 17 with Gradle 8.5:

  • Full offline clean build: 1,013 tests executed, 13 skipped, no failures or errors.
  • Nine standalone public-factory boundary cases passed before and after the documentation change.
  • The generated Javadoc method section contains both exception descriptions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant