code: public static Date parseThrowException(String date) throws ParseException {
  		if(date == null || date.trim().isEmpty()) {
  			return null;
  		}
  		String pattern = determineDateFormat(date);
  		if(pattern == null) {
  			throw new ParseException("Unparseable date: \"" + date +
  					"\". Supported formats: " + DATE_FORMAT_REGEXPS.values(), -1);
  		}
  		return new SimpleDateFormat(pattern).parse(date);
  	}
docs: 自动解析，失败抛出异常
  @param date
  @return