}
} else {
throw new IllegalStateException("DnsServiceMockStyle "+getDnsServiceMockStyle()+" is not supported when STAGED_EXECUTOR_DNSJNIO executor style is used");
}
DNSJnioAsynchService jnioAsynchService = new DNSJnioAsynchService(resolver);
jnioAsynchService.setTimeout(TIMEOUT);
executor = new StagedMultipleSPFExecutor(log, jnioAsynchService);
} catch (UnknownHostException e) {
// TODO Auto-generated catch block
e.printStackTrace();