Skip to content

Commit 697fe59

Browse files
committed
Add each Jackson library name in exceptions
1 parent 82a4db4 commit 697fe59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/embulk/util/config/ConfigMapperFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ private static void assertJacksonCoreVersion() {
330330

331331
final int minor = com.fasterxml.jackson.core.json.PackageVersion.VERSION.getMinorVersion();
332332
if (minor < 14 || (minor == 15 && com.fasterxml.jackson.core.json.PackageVersion.VERSION.getPatchLevel() <= 2)) {
333-
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson 2.15.3 or later.");
333+
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson (jackson-core) 2.15.3 or later.");
334334
}
335335
}
336336

@@ -341,7 +341,7 @@ private static void assertJacksonDataBindVersion() {
341341

342342
final int minor = com.fasterxml.jackson.databind.cfg.PackageVersion.VERSION.getMinorVersion();
343343
if (minor < 14 || (minor == 15 && com.fasterxml.jackson.databind.cfg.PackageVersion.VERSION.getPatchLevel() <= 2)) {
344-
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson 2.15.3 or later.");
344+
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson (jackson-databind) 2.15.3 or later.");
345345
}
346346
}
347347

@@ -352,7 +352,7 @@ private static void assertJacksonDataTypeJdk8Version() {
352352

353353
final int minor = com.fasterxml.jackson.datatype.jdk8.PackageVersion.VERSION.getMinorVersion();
354354
if (minor < 14 || (minor == 15 && com.fasterxml.jackson.datatype.jdk8.PackageVersion.VERSION.getPatchLevel() <= 2)) {
355-
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson 2.15.3 or later.");
355+
throw new UnsupportedOperationException("embulk-util-config is not used with Jackson (jackson-datatype-jdk8) 2.15.3 or later.");
356356
}
357357
}
358358

0 commit comments

Comments
 (0)