Skip to content

Commit

Permalink
strongly discourage users from disabling WRAP_EXCEPTIONS (FasterXML#4235
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pjfanning authored Nov 29, 2023
1 parent 5cece09 commit f49a58e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ public enum DeserializationFeature implements ConfigFeature
* {@link com.fasterxml.jackson.core.JacksonException}s) will
* always be passed as-is.
*<p>
* Disabling this feature will mean that you will need to adjust your try/catch
* blocks to properly handle {@link RuntimeException}s. Failing to do so,
* may cause your application to crash due to unhandled exceptions.
*<p>
* Feature is enabled by default.
*/
WRAP_EXCEPTIONS(true),
Expand Down

0 comments on commit f49a58e

Please sign in to comment.