Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,922 for Try (0.03 sec)

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

      private final List<Member> ignoredMembers = Lists.newArrayList();
    
      private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE;
    
      public NullPointerTester() {
        try {
          /*
           * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For
           * more information, see the comments in that class.
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. docs/em/docs/how-to/custom-request-and-route.md

    ✋ïļ 👉 🖞 ☑ &amp; âšŦïļ ðŸŽĶ ❔ 🔗 âŪïļ 🔗 ðŸĶē.
    
    ///
    
    ðŸ‘Ĩ 💊 ⚙ïļ 👉 🎏 ðŸŽŊ 🔐 ðŸ“Ļ 💊 ⚠ 🐕‍ðŸĶš.
    
    🌐 ðŸ‘Ĩ 💊 ðŸĩ ðŸ“Ļ 🔘 `try`/`except` ðŸŦ:
    
    ```Python hl_lines="13  15"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    ðŸšĨ ⚠ 📉, `Request` 👐 🔜 ↔, ðŸ‘Ĩ 💊 ✍ &amp; ⚒ ⚙ïļ ðŸ“Ļ 💊 🕐❔ 🚚 ❌:
    
    ```Python hl_lines="16-18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. docs/en/data/sponsors.yml

    gold:
      - url: https://cryptapi.io/
        title: "CryptAPI: Your easy to use, secure and privacy oriented payment gateway."
        img: https://fastapi.tiangolo.com/img/sponsors/cryptapi.svg
      - url: https://platform.sh/try-it-now/?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023
        title: "Build, run and scale your apps on a modern, reliable, and secure PaaS."
        img: https://fastapi.tiangolo.com/img/sponsors/platform-sh.png
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

          return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply {
            isLenient = false
            timeZone = UTC
          }
        }
      }
    
    /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */
    private val BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS =
      arrayOf(
        // HTTP formats required by RFC2616 but with any timezone:
        // RFC 822, updated by RFC 1123 with any TZ.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        expectUnchanged();
      }
    
      @CollectionSize.Require(ZERO)
      @ListFeature.Require(absent = SUPPORTS_SET)
      public void testSet_unsupportedByEmptyList() {
        try {
          getList().set(0, e3());
          fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
        } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // withTimeout
      public void testWithTimeout() throws Exception {
        ScheduledExecutorService executor = newScheduledThreadPool(1);
        try {
          FluentFuture<?> f =
              FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor);
          ExecutionException e = assertThrows(ExecutionException.class, () -> f.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                throws IOException, XmlPullParserException {
            return buildSettings(userSettingsFile);
        }
    
        private Settings build(SettingsBuildingRequest request) throws IOException, XmlPullParserException {
            try {
                return settingsBuilder.build(request).getEffectiveSettings();
            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
        }
    
        /** @since 2.1 */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top