Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,968 for Exceptions (0.92 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param actionListener the action listener for handling the response
         * @param exceptionListener the exception listener for handling exceptions
         */
        public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) {
            final Runnable task = () -> {
                if (paramList != null) {
                    char sp;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor : ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
        private val exceptions: BlockingQueue<Exception> = LinkedBlockingQueue()
    
        override fun execute(runnable: Runnable) {
          super.execute {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            ResultOffsetExceededException exception1 = new ResultOffsetExceededException("First instance");
            ResultOffsetExceededException exception2 = new ResultOffsetExceededException("Second instance");
            ResultOffsetExceededException exception3 = new ResultOffsetExceededException("Third instance");
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

          )
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
      }
    
      /** Confirm suppressed exceptions that occur while connecting are returned. */
      @Test fun connectExceptionsAreReturnedAsSuppressed() {
        val proxySelector = RecordingProxySelector()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTest.java

            int suppressed = runSuppressionFailureTest(in, out);
            assertThat(suppressed).isAtMost(1);
          }
        }
      }
    
      /**
       * @return the number of exceptions that were suppressed on the expected thrown exception
       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        void mockInteraction_stubsThrow_andVerifiesInvocation() {
            // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException),
            // we need to use a method that can throw checked exceptions or wrap it in a RuntimeException
            @SuppressWarnings("unchecked")
            Supplier<String> supplier = mock(Supplier.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/handling-errors.md

    👆 🎲 🏆 🚫 💪 ⚙️ ⚫️ 🔗 👆 📟.
    
    ✋️ 💼 👆 💪 ⚫️ 🏧 😐, 👆 💪 🚮 🛃 🎚:
    
    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    ## ❎ 🛃 ⚠ 🐕‍🦺
    
    👆 💪 🚮 🛃 ⚠ 🐕‍🦺 ⏮️ <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">🎏 ⚠ 🚙 ⚪️➡️ 💃</a>.
    
    ➡️ 💬 👆 ✔️ 🛃 ⚠ `UnicornException` 👈 👆 (⚖️ 🗃 👆 ⚙️) 💪 `raise`.
    
    &amp; 👆 💚 🍵 👉 ⚠ 🌐 ⏮️ FastAPI.
    
    👆 💪 🚮 🛃 ⚠ 🐕‍🦺 ⏮️ `@app.exception_handler()`:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    ## Встановлення власних обробників помилок
    
    Ви можете додати власні обробники помилок за допомогою <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">тих самих утиліт обробки помилок зі Starlette</a>.
    
    Припустимо, у Вас є власний обʼєкт помилки `UnicornException`, яке Ви (або бібліотека, яку Ви використовуєте) може `згенерувати` (`raise`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:31:13 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         *
         * @param level the severity level of the message
         * @param message the message to be logged
         * @param error the associated exception, or null if not applicable
         */
        void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error);
    
        /**
         * Logs a debug message without an associated exception.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top