Files

22 lines
1.1 KiB
Plaintext

-- convertValue(map with bad value)
J2: java.lang.IllegalArgumentException (cause: InvalidFormatException)
J3: tools.jackson.databind.exc.InvalidFormatException
-- readValue(file that does not exist)
J2: java.io.FileNotFoundException
J3: tools.jackson.core.exc.JacksonIOException (cause: FileNotFoundException)
-- readValue(stream that throws IOException)
J2: java.io.IOException
J3: tools.jackson.core.exc.JacksonIOException (cause: IOException)
-- writeValueAsString(getter that throws)
J2: com.fasterxml.jackson.databind.JsonMappingException (cause: IllegalStateException)
J3: tools.jackson.databind.DatabindException (cause: IllegalStateException)
-- readValue("{\"id\":null}") into a long
J2: no exception -> Order[id=0, quantity=1, lines=null]
J3: tools.jackson.databind.exc.MismatchedInputException
-- readValue(valid object followed by junk)
J2: no exception -> Order[id=1, quantity=2, lines=null]
J3: tools.jackson.core.exc.StreamReadException
-- readValue(unknown property)
J2: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
J3: no exception -> Order[id=1, quantity=2, lines=null]