Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 628 for IllegalArgumentException (0.18 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            switch (il) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                return 0x1;
            case FileSystemInformation.FS_SIZE_INFO:
                return 0x103;
            }
            throw new IllegalArgumentException("Unhandled information level");
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/UniAddressTest.java

                assertEquals(nbtAddress, uniAddress.getAddress());
            }
    
            @Test
            void shouldThrowIllegalArgumentExceptionForNullAddress() {
                assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
            }
        }
    
        @Nested
        @DisplayName("hashCode and equals tests")
        class HashCodeAndEqualsTests {
    
            private InetAddress inetAddress1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //    } else {
            //        return null;
            //    }
            //}
            //try {
            //    return CDef.DefMeta.valueOf(searchName);
            //} catch (IllegalArgumentException ignored) { // not found
            //    return null; // handled later
            //}
        }
    
        @Override
        public OptionalThing<String> determineAlias(final Locale locale) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            TermQuery termQuery = new TermQuery(term);
    
            try {
                BoostQuery boostQuery = new BoostQuery(termQuery, -1.5f);
                fail("Should have thrown IllegalArgumentException for negative boost");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("boost must be a positive float"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/EndpointPair.java

       */
      public final N nodeV() {
        return nodeV;
      }
    
      /**
       * Returns the node that is adjacent to {@code node} along the origin edge.
       *
       * @throws IllegalArgumentException if this {@link EndpointPair} does not contain {@code node}
       * @since 20.0 (but the argument type was changed from {@code Object} to {@code N} in 31.0)
       */
      public final N adjacentNode(N node) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        }
        assertThat(DoubleUtils.ensureNonNegative(Double.POSITIVE_INFINITY)).isPositiveInfinity();
        assertThat(DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)).isEqualTo(0.0);
        assertThrows(IllegalArgumentException.class, () -> DoubleUtils.ensureNonNegative(Double.NaN));
      }
    
      public void testOneBits() {
        assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("one", 2); // throwing on this line would be even better
    
        assertThrows(IllegalArgumentException.class, () -> builder.build());
      }
    
      public void testOf() {
        assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java

                    suffixWords = WordlistLoader.getWordSet(reader);
                } catch (final IOException e) {
                    throw new IllegalArgumentException("Could not load " + suffixWordsFile.getAbsolutePath(), e);
                }
            } else {
                suffixWords = new CharArraySet(0, false);
            }
        }
    
        @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top