Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 1,922 for try (0.03 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
            try {
                return isJavaVersionCompatible(jdk, version);
            } catch (NumberFormatException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.BASE)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. 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`:
    
    ```Python hl_lines="13  15"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. docs/en/overrides/main.html

          </a>
        </div>
        <div class="item">
          <a title="Build, run and scale your apps on a modern, reliable, and secure PaaS." style="display: block; position: relative;" href="https://platform.sh/try-it-now/?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/platform-sh-banner.png" />
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              @Override
              @Nullable Void runInterruptibly() throws Exception {
                slowChannel.doBegin();
                isInterruptibleRegistered.countDown();
                try {
                  new CountDownLatch(1).await(); // the interrupt will wake us up
                } catch (InterruptedException ie) {
                  // continue
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

          return webSocket!!.processNextFrame()
        }
    
        override fun close() {
          if (closed) {
            throw AssertionError("Already closed")
          }
          try {
            source.close()
          } catch (ignored: IOException) {
          }
          try {
            sink.close()
          } catch (ignored: IOException) {
          }
          closed = true
        }
    
        override fun cancel() {
          canceled = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

              future.addListener(listener, directExecutor());
            }
          }
        }
      }
    
      private void processAllMustSucceedDoneFuture(
          int index, ListenableFuture<? extends InputT> future) {
        try {
          if (future.isCancelled()) {
            // Clear futures prior to cancelling children. This sets our own state but lets
            // the input futures keep running, as some of them may be used elsewhere.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. cmd/speedtest.go

    				if result.Error != "" {
    					// Break out on errors.
    					sendResult()
    					return
    				}
    			}
    
    			sendResult()
    			if !opts.autotune {
    				break
    			}
    
    			// Try with a higher concurrency to see if we get better throughput
    			concurrency += (concurrency + 1) / 2
    		}
    	}()
    	return ch
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. common/scripts/setup_env.sh

    CONTAINER_TARGET_OUT_LINUX="${CONTAINER_TARGET_OUT_LINUX:-/work/out/linux_${TARGET_ARCH}}"
    
    IMG="${IMG:-${TOOLS_REGISTRY_PROVIDER}/${PROJECT_ID}/${IMAGE_NAME}:${IMAGE_VERSION}}"
    
    CONTAINER_CLI="${CONTAINER_CLI:-docker}"
    
    # Try to use the latest cached image we have. Use at your own risk, may have incompatibly-old versions
    if [[ "${LATEST_CACHED_IMAGE:-}" != "" ]]; then
      prefix="$(<<<"$IMAGE_VERSION" cut -d- -f1)"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top