Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 2,240 for throwIf (0.07 seconds)

  1. android/guava/src/com/google/common/base/Converter.java

       * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown.
       *
       * @param b the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
      private static void checkNoConflictInValueBucket(
          Object value, Entry<?, ?> entry, @Nullable ImmutableMapEntry<?, ?> valueBucketHead)
          throws BucketOverflowException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
              .that(e)
              .hasCauseThat()
              .hasMessageThat()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public Integer next(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public Integer previous(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        return new FilteredCollection<>(checkNotNull(unfiltered), checkNotNull(predicate));
      }
    
      /**
       * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeContains(Collection<?> collection, @Nullable Object object) {
        checkNotNull(collection);
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        private TestFessConfig testFessConfig;
        private TestServletContext testServletContext;
        private File tempDir;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            thumbnailJob = new GenerateThumbnailJob();
    
            // Create temporary directory
            tempDir = Files.createTempDirectory("test").toFile();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    
            FessConfig fessConfig = createTestFessConfig();
            ComponentUtil.setFessConfig(fessConfig);
    
            queryFieldConfig = new QueryFieldConfig();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractIterator.java

       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            // Test that the exception has proper serialVersionUID
            DataStoreException exception = new DataStoreException("Serialization test");
    
            // Check that it's a RuntimeException and can be thrown
            try {
                throw exception;
            } catch (DataStoreException e) {
                assertEquals("Serialization test", e.getMessage());
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top