code: public static Domain createDomain(final ConfigurationBuilder builder) throws IllegalArgumentException {
          if (builder == null) {
              throw new IllegalArgumentException("builder must be supplied");
          }
          return createDomain(builder.build());
      }
docs: Creates a new {@link Domain} containing configuration properties from the supplied {@link ConfigurationBuilder}.
  {@link ArchiveFactory}s created from this domain will have isolated configuration from archive factories created
  from other domains. Likewise, all {@link ArchiveFactory}s and {@link Archive}s created from the returned domain
  will share the same configuration.
  
  @param builder
  Builder with which we should create a {@link Configuration} for this {@link Domain}
  @return A new {@link Domain} with default configuration
  @throws IllegalArgumentException
  If the builder is not supplied