code: public Query fromUrl(String uri) throws UrlBeautifier.UrlBeautificationException {
      Query query = fromUrl(uri, null);
      if (query == null) {
        throw new IllegalStateException("URL reference block is invalid, could not convert to query");
      }
      return query;
    }
docs: <code>
  Convert a URI into a query object. Mappings will be converted to the
  correct search and refinement state.
  </code>
  
  @param uri
  The URI to parse into a query object
  
  @throws UrlBeautifier.UrlBeautificationException