Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 269 for IllegalStateException (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(asList("2", "3", "4"), list);
        assertFalse(list.isEmpty());
    
        // An UnsupportedOperationException or IllegalStateException may occur.
        try {
          iterator.add("1");
          fail("transformed list iterator is addable");
        } catch (UnsupportedOperationException | IllegalStateException expected) {
        }
        try {
          iterator.set("1");
          fail("transformed list iterator is settable");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                @Override
                public jakarta.servlet.AsyncContext startAsync() throws IllegalStateException {
                    return null;
                }
    
                @Override
                public jakarta.servlet.AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
                        throws IllegalStateException {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

            } catch (Exception e) {
                return false;
            }
        }
    
        private void checkNotClosed() {
            if (closed) {
                throw new IllegalStateException("SecureKeyManager is closed");
            }
        }
    
        // Key rotation configuration
        private long keyRotationIntervalMillis = 3600000L; // 1 hour default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
    
            try (ASN1InputStream is = new ASN1InputStream(token)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test constructor with status code and exception
            int statusCode = 503;
            String causeMessage = "Service temporarily unavailable";
            Exception cause = new IllegalStateException(causeMessage);
    
            WebApiException exception = new WebApiException(statusCode, cause);
    
            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(causeMessage, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TableCollectors.java

              Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction,
            columnFunction,
            valueFunction,
            (v1, v2) -> {
              throw new IllegalStateException("Conflicting values " + v1 + " and " + v2);
            },
            tableSupplier);
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertEquals(cause, exception.getCause());
        }
    
        public void test_nestedExceptionChain() {
            // Test nested exception chain
            Exception rootCause = new IllegalStateException("Root cause");
            Exception middleCause = new RuntimeException("Middle cause", rootCause);
            String message = "Top level error";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

              Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction,
            columnFunction,
            valueFunction,
            (v1, v2) -> {
              throw new IllegalStateException("Conflicting values " + v1 + " and " + v2);
            },
            tableSupplier);
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <T extends @Nullable Object, K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("A", peekingIterator.next());
        assertEquals("B", peekingIterator.peek());
    
        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top