commons/http/src/main/java/org/ldp4j/http/RFC6838MediaRangeValidator.java
@Override
	public void checkType(final String type) {
		validateLength(type,"Type");
		validateFirstChar(type,"type");
		validateOtherChars(type,"type");
	}
@Override
	public void checkType(final String type) {
		validateLength(type,"Type");
		validateFirstChar(type,"type");
		validateOtherChars(type,"type");
	}
Checks the given {@code type} for illegal characters, as defined in RFC
6838, section 4.2. NOTE: '*' is accepted as a valid type.

@param type
the string to validate
@throws IllegalArgumentException
in case of illegal characters
@see <a href="https://tools.ietf.org/html/rfc6838#section-4.2">Media Type
Specifications and Registration Procedures, Section 4.2</a>