Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for NumberFormatException (0.15 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
    
        @Override
        public boolean isGuest () {
            return this.type == AuthenticationType.GUEST;
        }
    
    
        static String unescape ( String str ) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            byte[] b = new byte[1];
    
            if ( str == null ) {
                return null;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/HostAndPort.java

              "Unparseable port number: %s",
              hostPortString);
          try {
            port = Integer.parseInt(portString);
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Unparseable port number: " + hostPortString);
          }
          checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

                    dayForCleanupStr = options.expires;
                    try {
                        dayForCleanup = Integer.parseInt(dayForCleanupStr);
                    } catch (final NumberFormatException e) {}
                } else {
                    dayForCleanup = ComponentUtil.getFessConfig().getDayForCleanup();
                }
                crawlingInfoHelper.updateParams(options.sessionId, options.name, dayForCleanup);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static @Nullable Double referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Double.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            try {
                                DfTypeUtil.toLong(s);
                            } catch (final NumberFormatException e) {
                                consumer.accept(attrName);
                            }
                        }));
            } else {
                // do nothing
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
                            artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
                        } catch (NumberFormatException e) {
                            logger.warn("Invalid artifact version " + artifact.getVersion() + ": " + e.getMessage());
                        }
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

            if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) {
              throw IOException("expected an int but was \"$result$line\"")
            }
            return result.toInt()
          } catch (e: NumberFormatException) {
            throw IOException(e.message)
          }
        }
    
        /**
         * Returns true if none of the Vary headers have changed between [cachedRequest] and
         * [newRequest].
         */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final String value = getSystemProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    // ignore
                }
            }
            return defaultValue;
        }
    
        default void setSystemPropertyAsInt(final String key, final int value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top