Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,672 for threw (0.06 sec)

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

      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullValueMissingWhenNullValuesUnsupported(
            "containsValue(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initMapWithNullValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          Assert.assertEquals(expectedData, future.get());
        } catch (ExecutionException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                        throw new ArtifactNotFoundException("Unable to determine the release version", artifact);
                    }
    
                    artifact.setBaseVersion(version);
                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      }
    
      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      }
    
      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      static native String emptyToNull(@Nullable String string) /*-{
        return string || null;
      }-*/;
    
      static CommonPattern compilePattern(String pattern) {
        throw new UnsupportedOperationException();
      }
    
      static boolean patternCompilerIsPcreLike() {
        throw new UnsupportedOperationException();
      }
    
      private Platform() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link OutputStream}をflushします。
         *
         * @param out
         *            出力ストリーム
         */
        public static void flush(final OutputStream out) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                if (values.length > 2) {
                    throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text),
                            "Invalid sort field: " + termQuery);
                }
                final String sortField = values[0];
                if (!getQueryFieldConfig().isSortField(sortField)) {
                    throw new InvalidQueryException(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

        super(Preconditions.checkNotNull(in));
      }
    
      /** This method will throw an {@link UnsupportedOperationException}. */
      @CanIgnoreReturnValue // to skip a line
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public String readLine() {
        throw new UnsupportedOperationException("readLine is not supported");
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top