code: public boolean acceptsURL(String url) {
          try {
              url = mangleURL(url);
          } catch (SQLException e) {
              return false;
          }
          return super.acceptsURL(url);
      }
docs: Check whether the driver thinks he can handle the given URL.
  
  @see java.sql.Driver#acceptsURL
  
  @param url the URL of the driver.
  
  @return true if this driver accepts the given URL.