Index: icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java |
=================================================================== |
--- icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java (revision 39589) |
+++ icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java (working copy) |
@@ -43,7 +43,7 @@ |
*/ |
public Measure(Number number, MeasureUnit unit) { |
if (number == null || unit == null) { |
- throw new NullPointerException(); |
+ throw new NullPointerException("Number and MeasureUnit must not be null"); |
} |
this.number = number; |
this.unit = unit; |