Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for IllegalArgumentException (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

         * Constructor for ICUNormalizer.
         * @param transliteratorId The ID of the transliterator to use.
         * @throws IllegalArgumentException if transliteratorId is null or invalid
         */
        public ICUNormalizer(final String transliteratorId) {
            if (transliteratorId == null) {
                throw new IllegalArgumentException("transliteratorId must not be null");
            }
            try {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/io/ContentCache.java

         * Constructs a ContentCache with the given byte array data.
         *
         * @param data the byte array containing the content
         * @throws IllegalArgumentException if data is null
         */
        public ContentCache(final byte[] data) {
            if (data == null) {
                throw new IllegalArgumentException("data must not be null");
            }
            this.data = data.clone();
            this.file = null;
        }
    
        /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

        }
    
        @Test
        public void testMemoryBasedCacheConstructorWithNull() {
            try {
                new ContentCache((byte[]) null);
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("data must not be null"));
            }
        }
    
        @Test
        public void testMemoryBasedCacheDefensiveCopy() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesTest.java

      public void testScale_zero() {
        assertThrows(IllegalArgumentException.class, () -> Quantiles.scale(0));
      }
    
      public void testScale_negative() {
        assertThrows(IllegalArgumentException.class, () -> Quantiles.scale(-4));
      }
    
      public void testScale_index_negative() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(IllegalArgumentException.class, () -> intermediate.index(-1));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      public void testScale_zero() {
        assertThrows(IllegalArgumentException.class, () -> Quantiles.scale(0));
      }
    
      public void testScale_negative() {
        assertThrows(IllegalArgumentException.class, () -> Quantiles.scale(-4));
      }
    
      public void testScale_index_negative() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(IllegalArgumentException.class, () -> intermediate.index(-1));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return minioClient.getObject(args);
                } catch (InvalidKeyException | ErrorResponseException | IllegalArgumentException | InsufficientDataException | InternalException
                        | InvalidResponseException | NoSuchAlgorithmException | XmlParserException | IOException | ServerException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("transliteratorId must not be null", e.getMessage());
            }
        }
    
        public void test_invalidTransliteratorId() {
            try {
                new ICUNormalizer("Invalid-Transliterator-ID-12345");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ArchetypeGraph.java

      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
       * to add a self-loop to a graph that does not allow them will throw an {@link
       * IllegalArgumentException}.
       */
      boolean allowsSelfLoops();
    
      /** Returns the order of iteration for the elements of {@link #nodes()}. */
      ElementOrder<N> nodeOrder();
    
      //
      // Element-level accessors
      //
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 11 17:11:16 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.ceilingPowerOfTwo(x));
        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * Supported types are Kryo and JavaBin serialization.
         * </p>
         *
         * @param obj the object to serialize
         * @return the serialized object as a byte array
         * @throws IllegalArgumentException if an unsupported serializer type is configured
         * @throws IORuntimeException if an I/O error occurs during serialization
         */
        public byte[] fromObjectToBinary(final Object obj) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 6.5K bytes
    - Viewed (3)
Back to top