Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 863 for IllegalArgumentException (0.21 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         * - If the value is a List, casts and returns it
         *
         * @param map The source map
         * @param key The key to look up
         * @return A List of strings, never null
         * @throws IllegalArgumentException if the value is not a String or List
         */
        @SuppressWarnings("unchecked")
        public static List<String> getStringList(final Map<String, Object> map, final String key) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Exception error"));
            errors.add(new RuntimeException("Runtime error"));
            errors.add(new IllegalArgumentException("Illegal argument error"));
    
            SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 150);
    
            assertTrue(response.hasError());
            assertEquals(3, response.getErrors().size());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            .isEqualTo(new byte[] {(byte) 1, (byte) 0, (byte) 0});
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        durationsPerTestProject.forEach { (key, value) ->
            if (value.size !=
                1
            ) {
                throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations")
            }
        }
        return durationsPerTestProject
            .mapValues { (_, durations) -> durations.flatten().map { it.scenario } }
    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class ConnectionSpecTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun noTlsVersions() {
        assertFailsWith<IllegalArgumentException> {
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(*arrayOf<String>())
            .build()
        }.also { expected ->
          assertThat(expected.message)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLong.java

        return new UnsignedLong(bits);
      }
    
      /**
       * Returns an {@code UnsignedLong} representing the same value as the specified {@code long}.
       *
       * @throws IllegalArgumentException if {@code value} is negative
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(long value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

         * @param fileId the 16-byte file ID from the previous open
         */
        public DurableHandleReconnect(byte[] fileId) {
            if (fileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            this.fileId = Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. src/main/resources/CLMessages.properties

    ECL0070=Field({1}) of class({0}) not found
    ECL0071=SQLException(Message=[{0}], ErrorCode={1}, SQLState={2}) occurred
    ECL0072=SQLException(SQL=[{0}], Message=[{1}], ErrorCode={2}, SQLState={3}) occurred
    ECL0091=Illegal URL({0})
    ECL0094=IllegalArgumentException occurred when value({7}) of class {5}[{6}] is set to {2}[{3}] field({4}) of class({0})[{1}]. Target class is ({8})[{9}].
    ECL0097=Value({1}) of property({0}) can not be converted. because {2}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        assertThat(future.get()).isEqualTo(expected);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            () -> {
              throw expected;
            };
    
        AsyncCallable<String> asyncCallable =
            Callables.asAsyncCallable(callable, newDirectExecutorService());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        assertThat(future.get()).isEqualTo(expected);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            () -> {
              throw expected;
            };
    
        AsyncCallable<String> asyncCallable =
            Callables.asAsyncCallable(callable, newDirectExecutorService());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top