public static void
check(int i) {
	if (i < 0 || i > 0xFFFF)
		throw new InvalidDClassException(i);
}
Checks that a numeric DClass is valid.
@throws InvalidDClassException The class is out of range.
src/main/java/core/org/xbill/DNS/DClass.java