Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 863 for IllegalArgumentException (0.17 seconds)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            try {
                validator.initialize(validAnnotation);
                assertTrue("Valid annotation should initialize successfully", true);
            } catch (final IllegalArgumentException e) {
                fail("Valid annotation should not cause IllegalArgumentException: " + e.getMessage());
            }
        }
    
        @Test
        public void test_isValid_basic() {
            final CustomSize annotation = createBasicAnnotation();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    Exception cause = new IllegalArgumentException("Root cause");
                    throw new RuntimeException("Wrapper exception", cause);
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform.android
    
    import android.net.http.X509TrustManagerExtensions
    import java.lang.IllegalArgumentException
    import java.security.cert.Certificate
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThat(bazList).isEmpty();
        assertThrows(IllegalArgumentException.class, () -> bazList.add(5));
        assertThrows(IllegalArgumentException.class, () -> bazList.add(0, 6));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(ImmutableList.of(7, 8)));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(0, ImmutableList.of(9, 10)));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

                    factory = scriptModule.engines.get("painless").compile("test", "doc['n'].value", ScoreScript.CONTEXT, Map.of());
                    break;
                default:
                    throw new IllegalArgumentException("Don't know how to implement script [" + script + "]");
            }
        }
    
        @Setup
        public void setupIndex() throws IOException {
            Path path = Path.of(System.getProperty("tests.index"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

                assertEquals("Test exception", e.getMessage());
            }
            assertTrue(caught);
        }
    
        @Test
        public void test_nestedCause() {
            final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid argument");
            final RuntimeException middleCause = new RuntimeException("Middle error", rootCause);
            final LlmException exception = new LlmException("Top level error", middleCause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       * Math#toIntExact(long)} instead, but be aware that that method throws {@link
       * ArithmeticException} rather than {@link IllegalArgumentException}.
       *
       * @param value any value in the range of the {@code int} type
       * @return the {@code int} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or
       *     less than {@link Integer#MIN_VALUE}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

            .isEqualTo(new short[] {(short) 1, (short) 0, (short) 0});
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Shorts.join(",", EMPTY)).isEmpty();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

      public void testCombineOrdered_empty() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Hashing.combineOrdered(Collections.<HashCode>emptySet()));
      }
    
      public void testCombineOrdered_differentBitLengths() {
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              HashCode unused =
                  Hashing.combineOrdered(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  10. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

        }
    
        @Test
        public void test_causeChainPropagation() {
            // Setup - create a chain of exceptions
            final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid character in query");
            final IllegalStateException middleCause = new IllegalStateException("Query parser state error", rootCause);
            final String message = "Query processing failed";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top