code: public static void checkDatasetName(String namespace, String name) {
      Preconditions.checkNotNull(namespace, "Namespace cannot be null");
      Preconditions.checkNotNull(name, "Dataset name cannot be null");
      ValidationException.check(Compatibility.isCompatibleName(namespace),
          "Namespace %s is not alphanumeric (plus '_')",
          namespace);
      ValidationException.check(Compatibility.isCompatibleName(name),
          "Dataset name %s is not alphanumeric (plus '_')",
          name);
    }
docs: Precondition-style validation that a dataset name is compatible.
  
  @param namespace a String namespace
  @param name a String name