Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2201 - 2210 of 2,742 for throws (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        resetContainer(getSubjectGenerator().create(array));
      }
    
      /**
       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

          @Override
          Object operate(Stream<?> stream) {
            try {
              return stream.collect(onlyElement());
            } catch (IllegalArgumentException | NoSuchElementException e) {
              throw new SkipThisScenarioException();
            }
          }
        },
        STREAMS_FIND_LAST {
          @Override
          Object operate(Stream<?> stream) {
            return Streams.findLast(stream);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                }
                return null;
            } catch (final ChildUrlsException e) {
                throw new DataStoreCrawlingException(url,
                        "Redirected to " + e.getChildUrlList().stream().map(RequestData::getUrl).collect(Collectors.joining(", ")), e);
            } catch (final Exception e) {
                throw new DataStoreCrawlingException(url, "Failed to add: " + dataMap, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js

    structor=te,n.default.fn[G].noConflict=function(){return n.default.fn[G]=X,te._jQueryInterface};var ae="Fullscreen",ne="lte.fullscreen",ie=n.default.fn[ae],oe='[data-widget="fullscreen"]',le=oe+" i",se={minimizeIcon:"fa-compress-arrows-alt",maximizeIcon:"fa-expand-arrows-alt"},re=function(){function e(e,t){this.element=e,this.options=n.default.extend({},se,t)}var t=e.prototype;return t.toggle=function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultiset.java

      public int add(@ParametricNullness E element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean remove(@CheckForNull Object element) {
        return remove(element, 1) > 0;
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void validate() {
            LaRequestUtil.getOptionalRequest().map(req -> (WebApiException) req.getAttribute(WEB_API_EXCEPTION)).ifPresent(e -> {
                throw e;
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

    @ExperimentalOkHttpApi
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      override fun after() {
        try {
          server.shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top