ICU-13740 Java 6 compatibility fix

X-SVN-Rev: 41414
This commit is contained in:
Yoshito Umaoka 2018-05-19 00:46:19 +00:00
parent 9cc7d14b62
commit 898f5a6b11

View file

@ -77,7 +77,7 @@ public class NumberFormatDataDrivenTest {
try {
actualDecimal = new BigDecimal(actual.toString());
} catch (NumberFormatException e) {
throw new AssertionError("Could not convert to BigDecimal: " + actual.toString(), e);
throw new AssertionError("Could not convert to BigDecimal: " + actual.toString() + " - " + e.getMessage());
}
if (expectedDecimal.compareTo(actualDecimal) != 0) {
return "Expected: " + expected + ", got: " + actual;