Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,808 for try (0.02 sec)

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

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/custom-request-and-route.md

    ///
    
    Também podemos usar essa mesma abordagem para acessar o corpo da requisição em um manipulador de exceção.
    
    Tudo que precisamos fazer é manipular a requisição dentro de um bloco `try`/`except`:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Returns a proto session builder of this instance.
         */
        @Nonnull
        default Builder toBuilder() {
            try {
                return new Builder(
                        getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory());
            } catch (IllegalStateException e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable Range<C> get(@Nullable Object key) {
          if (key instanceof Cut) {
            try {
              @SuppressWarnings("unchecked") // we catch CCEs
              Cut<C> cut = (Cut<C>) key;
              if (!upperBoundWindow.contains(cut)) {
                return null;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      @JvmName("uri")
      fun toUri(): URI {
        val uri = newBuilder().reencodeForUri().toString()
        return try {
          URI(uri)
        } catch (e: URISyntaxException) {
          // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry.
          try {
            val stripped = uri.replace(Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"), "")
            URI.create(stripped)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
    
            final Map<String, HighlightField> highlightFields = searchHit.getHighlightFields();
            try {
                if (highlightFields != null) {
                    highlightFields.values().stream().forEach(highlightField -> {
                        final String text = viewHelper.createHighlightText(highlightField);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. README.md

    ## Website
    
    [fess.codelibs.org](https://fess.codelibs.org/)
    
    ## Issues/Questions
    
    [discuss.codelibs.org](https://discuss.codelibs.org/c/FessEN/)
    
    ## Getting Started
    
    There are 2 ways to try Fess. The first is to download and install yourself. The second is to use [Docker](https://www.docker.com/products/docker-engine).
    
    ### Download and Install/Run
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 06:34:32 UTC 2025
    - 7.2K bytes
    - Viewed (2)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        public void test_assertPropertyNotNull_withNull() {
            try {
                // Create a test instance that extends FessLabels
                TestFessLabels labels = new TestFessLabels();
                labels.testAssertPropertyNotNull(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top