- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for UnknownHostException (0.23 sec)
-
src/main/java/jcifs/NetbiosAddress.java
* @throws UnknownHostException * if the host cannot be resolved to find out. */ boolean isInConflict ( CIFSContext tc ) throws UnknownHostException; /** * Determines if this address is active. * * @param tc * context to use * @return whether this address is active * * @throws UnknownHostException
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
client.newCall(request).execute() } catch (uhe: UnknownHostException) { // expected } val logs = ShadowLog.getLogsForTag("testHttpLoggingInterceptor") assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat(logs.map { it.msg }).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit", )
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} } throw new UnknownHostException(addr.getHostName()); } @Override public NbtAddress getNbtByName ( String host ) throws UnknownHostException { return getNbtByName(host, 0x00, null); } @Override public NbtAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException { return getNbtByName(host, type, scope, null);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
} @Test public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException { runFilenameTest("just-testing", "adsfg.txt"); } @Test public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException { Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* @return the resolved address * @throws java.net.UnknownHostException * if there is an error resolving the name */ NetbiosAddress getNbtByName ( String host ) throws UnknownHostException; /** * @param nbtAddress * @return the node status responses * @throws UnknownHostException */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
* and return successful suffix or throw an UnknownHostException. import javax.naming.*; import javax.naming.directory.*; public static String getDomainByName(String name) throws UnknownHostException { DirContext context; UnknownHostException uhe = null; try { context = new InitialDirContext(); for ( ;; ) { try {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 16.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
unknownHostException.initCause(failure) for (i in 1 until failures.size) { unknownHostException.addSuppressed(failures[i]) } throw unknownHostException } private fun getCacheOnlyResponse(request: Request): Response? { if (client.cache != null) { try { // Use the cache without hitting the network first
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* {@link jcifs.smb1.netbios.NbtAddress#H_NODE} * * @throws UnknownHostException if the host cannot be resolved to find out. */ public int getNodeType() throws UnknownHostException { checkData(); return nodeType; } /** * Determines if this address in the process of being deleted. * * @throws UnknownHostException if the host cannot be resolved to find out. */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
*/ public SmbFileOutputStream( String url, int shareAccess ) throws SmbException, MalformedURLException, UnknownHostException { this( new SmbFile( url, "", null, shareAccess ), false ); } SmbFileOutputStream( SmbFile file, boolean append, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.append = append; this.openFlags = openFlags;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 9.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
return this } @Throws(UnknownHostException::class) fun lookup( hostname: String, index: Int, ): InetAddress { return hostAddresses[hostname]!![index] } @Throws(UnknownHostException::class) override fun lookup(hostname: String): List<InetAddress> { requestedHosts.add(hostname) return hostAddresses[hostname] ?: throw UnknownHostException() }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0)