if (!type.endsWith(".")) { throw new IllegalArgumentException("type must be fully qualified DNS name ending in '.': " + type); }  this.type = type; this.name = name;
this(type, name, port, 0, 0, text);
    ServiceInfo(String type, String name)    {        if (!type.endsWith("."))        {            throw new IllegalArgumentException("type must be fully qualified DNS name ending in '.': " + type);        }        this.type = type;        this.name = name;    }