static java.sql.Time parseSqlTime(final String value) {
        try {
            // JDK format in Time.valueOf is compatible with DATE_FORMAT
            return Time.valueOf(value);
        } catch (IllegalArgumentException e) {
            return throwRuntimeParseException(value, new ParseException(value, 0), SQL_TIME_FORMAT);
        }
    }
@Test
    public void testTimeFailsForInvalidValue() {
        // Given
        String invalidTime = "Time is now";

        // When
        assertThatThrownBy(() -> DateHelper.parseSqlTime(invalidTime))
                .hasCauseInstanceOf(ParseException.class);

        // Then
        // No-op
    }