Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for NumberFormatException (0.09 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      }
    
      public void testDecodeLongFails() {
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("0xfffffffffffffffff"));
    
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("-5"));
    
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("-0x5"));
    
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("-05"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * comment: Path to SSL certificate authorities for secure HTTP connections.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         * @throws NumberFormatException When the property is not integer.
         */
        Integer getSearchEngineHttpSslCertificateAuthoritiesAsInteger();
    
        /**
         * Get the value for the key 'search_engine.username'. <br>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (2)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected
            }
    
            // Test with invalid format
            System.setProperty("java.version", "invalid");
            try {
                JvmUtil.getJavaVersion();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                        if (StringUtil.isNotBlank(port)) {
                            try {
                                smbAuth.setPort(Integer.parseInt(port));
                            } catch (final NumberFormatException e) {
                                logger.warn("Failed to parse {}", port, e);
                            }
                        }
                        smbAuth.setUsername(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    return props;
                }
            };
    
            try {
                customEnv.getTimeAdjustTimeMillisAsLong();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top