class SqlTimeParseDelegate {

    public static Object parse(String s) throws Exception {
        return (s == null) ? null : parseTime(s);
    }

}

class SqlTimeParseDelegateTest {

    @Test(expected = Exception.class)
    public void failsOnInvalidInput() throws Exception {

        parse("3.14");
    }

}