/** * This method is called to handle a non-empty date string from the client * if the client could not parse it as a Date. * * By default, a Converter.ConversionException is thrown, and the current * value is not modified. * * This can be overridden to handle conversions, to return null (equivalent * to empty input), to throw an exception or to fire an event. * * @param dateString * @return parsed Date * @throws Converter.ConversionException * to keep the old value and indicate an error */ protected Date handleUnparsableDateString(String dateString) throws Converter.ConversionException { currentParseErrorMessage = null; throw new Converter.ConversionException(getParseErrorMessage()); }