code: public static java.sql.Time getTime(Object value) {
          try {
              return toTime(value);
          } catch (ParseException pe) {
              pe.printStackTrace();
              return null;
          }
      }
docs: Convert an Object to a Time, without an Exception