code: @Nonnull
    public static UtcTime getUtcTime(@Nonnull ResultSet rs,
                                     @Nonnull String columnName,
                                     @Nullable UtcTime defaultTime) throws SQLException {
      final UtcTime result = getNullableUtcTime(rs, columnName, defaultTime);
      if (result != null) {
        return result;
      }
  
      throw new IllegalStateException("Unable to retrieve time from the given resultSet, columnName=" + columnName);
    }
docs: Retrieves UTC time from the given {@link java.sql.ResultSet}.
  Throws {@link java.lang.IllegalStateException} if time is null.
  
  @param rs Result set, must be in a state, where a value can be retrieved
  @param columnName Column name, associated with timestamp value, can hold null value
  @param defaultTime Default value, that should be used if returned timestamp is null
  @return UtcTime instance
  @throws SQLException On SQL error
  @throws java.lang.IllegalStateException If retrieved time is null and defaultTime is null