Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,097 for onerror (0.12 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

            in 100..199 -> "Informational"
            in 200..299 -> "OK"
            in 300..399 -> "Redirection"
            in 400..499 -> "Client Error"
            in 500..599 -> "Server Error"
            else -> "Mock Response"
          }
        return apply { status = "HTTP/1.1 $code $reason" }
      }
    
      fun clearHeaders() =
        apply {
          headersBuilder = Headers.Builder()
        }
    
      fun addHeader(header: String) =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        /**
         * Handle channel failure
         *
         * @param failedChannel failed channel
         * @param error error that caused failure
         */
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
    
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. prepare_stmt.go

    }
    
    func (db *PreparedStmtDB) Ping() error {
    	conn, err := db.GetDBConn()
    	if err != nil {
    		return err
    	}
    	return conn.Ping()
    }
    
    type PreparedStmtTX struct {
    	Tx
    	PreparedStmtDB *PreparedStmtDB
    }
    
    func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
    	return db.PreparedStmtDB.GetDBConn()
    }
    
    func (tx *PreparedStmtTX) Commit() error {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt

    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSink.java

       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
       * @throws IOException if an I/O error occurs while opening the writer
       */
      public abstract Writer openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            Exception cause = new RuntimeException("Image processing error");
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Image processing error", exception.getCause().getMessage());
        }
    
        public void test_constructorWithNullMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/WebApiUtil.java

            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
        }
    
        /**
         * Sets an error in the current request with the specified status code and message.
         *
         * @param statusCode The HTTP status code
         * @param message The error message
         */
        public static void setError(final int statusCode, final String message) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            // Test error paths
            assertEquals("/error/badRequest.jsp", FessHtmlPath.path_Error_BadRequestJsp.getRoutingPath());
            assertEquals("/error/error.jsp", FessHtmlPath.path_Error_ErrorJsp.getRoutingPath());
            assertEquals("/error/notFound.jsp", FessHtmlPath.path_Error_NotFoundJsp.getRoutingPath());
            assertEquals("/error/redirect.jsp", FessHtmlPath.path_Error_RedirectJsp.getRoutingPath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        @Test
        @DisplayName("getErrorString for name service error with known code")
        void testNameServiceKnown() {
            String expected = "ERR_NAM_SRVC/FMT_ERR: Format ErrorUnknown error code: 1";
            assertEquals(expected, NbtException.getErrorString(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR));
        }
    
        @Test
        @DisplayName("getErrorString for name service error with unknown code")
        void testNameServiceUnknown() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            Throwable cause = new RuntimeException("Runtime error");
            CommandExecutionException exception = new CommandExecutionException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Runtime error", exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top