Files

25 lines
1020 B
Plaintext

== who is at fault ==
syntax error UnexpectedEndOfInputException BAD_INPUT
wrong type InvalidFormatException BAD_INPUT
too deep StreamConstraintsException BAD_INPUT
no way to construct type InvalidDefinitionException OUR_BUG
connection reset JacksonIOException TRANSPORT
== a catch that misses StreamConstraintsException ==
slipped past catch (StreamReadException | DatabindException): StreamConstraintsException
== streams: no try/catch needed, one bad element ends the pipeline ==
parsed 1
pipeline aborted: UnexpectedEndOfInputException
skip-and-report instead:
parsed 1
skipped {"id": (UnexpectedEndOfInputException)
parsed 3
== CompletableFuture wraps it ==
join() threw CompletionException, cause UnexpectedEndOfInputException
exceptionally(): sees CompletionException wrapping UnexpectedEndOfInputException
== an old catch (RuntimeException) now swallows Jackson errors ==
generic handler got UnexpectedEndOfInputException