use of de.measite.minidns.DNSMessage.RESPONSE_CODE in project Smack by igniterealtime.
the class MiniDnsResolver method getExceptionFrom.
private static ResolutionUnsuccessfulException getExceptionFrom(ResolverResult<?> result) {
Question question = result.getQuestion();
RESPONSE_CODE responseCode = result.getResponseCode();
ResolutionUnsuccessfulException resolutionUnsuccessfulException = new ResolutionUnsuccessfulException(question, responseCode);
return resolutionUnsuccessfulException;
}
Aggregations