fix(TBD-10400): Reject flow doesn't work correctly for dates in extract components (#5658)

This commit is contained in:
dicarcab
2022-09-30 09:34:30 +02:00
committed by GitHub
parent c5656cb59d
commit a7bafcabd3

View File

@@ -135,6 +135,8 @@ public class FastDateParser {
calendar.clear();
calendar.set(year, month, day);
return calendar.getTime();
} catch (NumberFormatException numberFormatException){
throw new RuntimeException("Unparseable date: \"" + source + "\""); //$NON-NLS-1$ //$NON-NLS-2$
} catch (Exception e) {
pos.setErrorIndex(index);
e.printStackTrace();