Skip to content

Commit 83977b1

Browse files
committed
...
1 parent 147171c commit 83977b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/tools/jackson/dataformat/xml/ser/MultidimArray556Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import org.junit.jupiter.api.Test;
77

8-
import tools.jackson.databind.DatabindException;
8+
import tools.jackson.core.JacksonException;
99
import tools.jackson.dataformat.xml.XmlMapper;
1010
import tools.jackson.dataformat.xml.XmlTestUtil;
1111
import tools.jackson.dataformat.xml.XmlWriteFeature;
@@ -29,7 +29,7 @@ public void test2DPrimitiveArrayFailsFast() throws Exception
2929
try {
3030
MAPPER.writeValueAsString(new boolean[][] { { true }, { false } });
3131
fail("Should not pass: nested arrays must be rejected");
32-
} catch (DatabindException e) {
32+
} catch (JacksonException e) {
3333
verifyException(e, "does not support nested arrays");
3434
}
3535
}
@@ -43,7 +43,7 @@ public void testNestedListFailsFast() throws Exception
4343
try {
4444
MAPPER.writeValueAsString(nested);
4545
fail("Should not pass: nested Collections must be rejected");
46-
} catch (DatabindException e) {
46+
} catch (JacksonException e) {
4747
verifyException(e, "does not support nested arrays");
4848
}
4949
}

0 commit comments

Comments
 (0)