Synchronization and serialization issues that apply to NamingException apply directly here. @author Rosanna Lee @author Scott Seligman @since 1.3
315316317318319320321322323
* not notify the error listeners. */ @Test public void testGetKeysNoData() { conf.installException(new NameNotFoundException("Test exception")); assertFalse("Got keys", conf.getKeys().hasNext()); listener.verify(); }
243244245246247248249250251252253
} } hdr = new Header(msg, msg.length); if (auth && !hdr.authoritative) { caughtException = new NameNotFoundException( "DNS response not authoritative"); doNotRetry[i] = true; continue; } }