ICU-2895 Fix Java 1.3/1.4 compile error introduced by the change set 22492

X-SVN-Rev: 22498
This commit is contained in:
Yoshito Umaoka 2007-08-23 23:03:39 +00:00
parent bc24e7af5e
commit d65632d32e

View File

@ -419,7 +419,7 @@ public abstract class DateFormat extends UFormat {
return format( new Date(((Number)obj).longValue()),
toAppendTo, fieldPosition );
else
throw new IllegalArgumentException("Cannot format given Object (" + obj.getClass().getSimpleName() + ") as a Date");
throw new IllegalArgumentException("Cannot format given Object (" + obj.getClass().getName() + ") as a Date");
}
/**