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

Method getResult

src/main/java/core/org/xbill/DNS/Lookup.java:630–634  ·  view source on GitHub ↗

Returns the result code of the lookup. @return The result code, which can be SUCCESSFUL, UNRECOVERABLE, TRY_AGAIN, HOST_NOT_FOUND, or TYPE_NOT_FOUND. @throws IllegalStateException The lookup has not completed.

()

Source from the content-addressed store, hash-verified

628 * @throws IllegalStateException The lookup has not completed.
629 */
630public int
631getResult() {
632 checkDone();
633 return result;
634}
635
636/**
637 * Returns an error string describing the result code of this lookup.

Callers 1

lookupHostNameMethod · 0.95

Calls 1

checkDoneMethod · 0.95

Tested by

no test coverage detected