public static Name
fromConstantString(String s) {
	try {
		return fromString(s, null);
	}
	catch (TextParseException e) {
		throw new IllegalArgumentException("Invalid name '" + s + "'");
	}
}
Create a new name from a constant string.  This should only be used when
 the name is known to be good - that is, when it is constant.
@param s The string to be converted
@throws IllegalArgumentException The name is invalid.
src/main/java/core/org/xbill/DNS/Name.java