MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / check

Method check

src/main/java/core/org/xbill/DNS/DClass.java:67–71  ·  view source on GitHub ↗

Checks that a numeric DClass is valid. @throws InvalidDClassException The class is out of range.

(int i)

Source from the content-addressed store, hash-verified

65 * @throws InvalidDClassException The class is out of range.
66 */
67public static void
68check(int i) {
69 if (i < 0 || i > 0xFFFF)
70 throw new InvalidDClassException(i);
71}
72
73/**
74 * Converts a numeric DClass into a String

Callers 10

RecordMethod · 0.95
newRecordMethod · 0.95
fromStringMethod · 0.95
checkMethod · 0.95
setDClassMethod · 0.95
UpdateMethod · 0.95
GeneratorMethod · 0.95
getDefaultCacheMethod · 0.95
setDefaultCacheMethod · 0.95
LookupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected