code: public static Domain create(final String name) throws AppPlatformException, ParseException, Exception {
          return create(name, null);
      }
docs: Convenience factory method for Domain.
  @param name the domain name.
  @return the created Domain.
  @throws AppPlatformException API Exception
  @throws ParseException Error parsing data
  @throws Exception error