Skip to content

Commit f49a58e

Browse files
authored
strongly discourage users from disabling WRAP_EXCEPTIONS (#4235)
1 parent 5cece09 commit f49a58e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java

+4
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ public enum DeserializationFeature implements ConfigFeature
290290
* {@link com.fasterxml.jackson.core.JacksonException}s) will
291291
* always be passed as-is.
292292
*<p>
293+
* Disabling this feature will mean that you will need to adjust your try/catch
294+
* blocks to properly handle {@link RuntimeException}s. Failing to do so,
295+
* may cause your application to crash due to unhandled exceptions.
296+
*<p>
293297
* Feature is enabled by default.
294298
*/
295299
WRAP_EXCEPTIONS(true),

0 commit comments

Comments
 (0)