NIHVIVO-2047: modified date-time precision error message

This commit is contained in:
tlw72 2011-02-07 14:48:30 +00:00
parent 573aaf3488
commit 1906e6a484

View file

@ -379,7 +379,7 @@ public class DateTimeWithPrecision extends BaseEditElement {
} }
} }
if( nonNullAfterFirstNull ) if( nonNullAfterFirstNull )
throw new Exception("cannot determine precision, there were filled out values after the first un-filledout value, "); throw new Exception("Invalid date-time value. When creating a date-time value, there cannot be gaps between any of the selected fields.");
else{ else{
return precisions[ indexOfFirstNull ].uri(); return precisions[ indexOfFirstNull ].uri();
} }