Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for UnknownHostException (0.13 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

      }
    
      public void testForStringIPv4NonAsciiInput() throws UnknownHostException {
        String ipStr = "૧૯૨.૧૬૮.૦.૧"; // 192.168.0.1 in Gujarati digits
        // Shouldn't hit DNS, because it's an IP string literal.
        InetAddress ipv4Addr;
        try {
          ipv4Addr = InetAddress.getByName(ipStr);
        } catch (UnknownHostException e) {
          // OK: this is probably Android, which is stricter.
          return;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

     * under the License.
     */
    package org.apache.maven.exception;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.net.ConnectException;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.api.plugin.MojoException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
            throw new IllegalArgumentException("No such interface: " + scope, e);
          }
        } catch (UnknownHostException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Returns the string representation of an {@link InetAddress}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
            throw new IllegalArgumentException("No such interface: " + scope, e);
          }
        } catch (UnknownHostException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Returns the string representation of an {@link InetAddress}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.UnsupportedEncodingException;
    import java.net.InetAddress;
    import java.net.URLEncoder;
    import java.net.UnknownHostException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.Instant;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.util.ArrayList;
    import java.util.Calendar;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         *             do not follow the prescribed syntax
         * @throws UnknownHostException
         *             If the server or workgroup of the <tt>context</tt> file cannot be determined
         */
        public SmbFile ( SmbResource context, String name ) throws MalformedURLException, UnknownHostException {
            this(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import static org.opensearch.core.action.ActionListener.wrap;
    
    import java.io.File;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.charset.StandardCharsets;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top