- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 88 for UnknownHostException (0.17 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
*/ package okhttp3.dnsoverhttps import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import java.net.InetAddress import java.net.UnknownHostException import kotlin.test.assertFailsWith import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_A import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_AAAA import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 20:09:10 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.net.InetAddress; import java.net.UnknownHostException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @throws MalformedURLException if the URL is malformed * @throws UnknownHostException if the host cannot be resolved */ public SmbRandomAccessFile(final String url, final String mode, final int shareAccess) throws SmbException, MalformedURLException, UnknownHostException { this(new SmbFile(url, "", null, shareAccess), mode); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
} @Test @DisplayName("Should handle UnknownHostException") void testGetSmbTransportUnknownHost() throws UnknownHostException, IOException { // Given when(transportPool.getSmbTransport(context, "unknown.host", DEFAULT_PORT, false, false)) .thenThrow(new UnknownHostException("Unknown host")); // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.dnsoverhttps import java.io.File import java.net.UnknownHostException import java.security.Security import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
* @param auth the NTLM authentication credentials * @throws UnknownHostException if the host cannot be resolved * @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* @throws UnknownHostException if the server cannot be resolved */ public SmbFileInputStream(final SmbFile file) throws SmbException, MalformedURLException, UnknownHostException { this(file, SmbFile.O_RDONLY); } SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException { this.file = file;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
fun dnsFail() { client = OkHttpClient .Builder() .dns { _ -> throw UnknownHostException("reason") } .eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { } logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* * @return the NTLM challenge from the domain controller * @throws SmbException if an SMB error occurs * @throws UnknownHostException if the domain controller cannot be resolved */ public static NtlmChallenge getChallengeForDomain() throws SmbException, UnknownHostException { if (DOMAIN == null) { throw new SmbException("A domain was not specified"); } synchronized (DOMAIN) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import java.io.IOException; import java.net.MalformedURLException; import java.net.UnknownHostException; import jcifs.smb1.util.LogStream; class TransactNamedPipeInputStream extends SmbFileInputStream { private static final int INIT_PIPE_SIZE = 4096;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0)