Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 677 for Failure (0.05 seconds)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

     *   <li>Building the query and filter query for the suggestion request.</li>
     *   <li>Processing the request and handling the response or failure.</li>
     *   <li>Creating the response from the search results.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * SuggestRequest suggestRequest = new SuggestRequest();
     * suggestRequest.setIndex("my_index");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
                        result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage()));
                    }
                }
            }
    
            return result;
        }
    
        @Override
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 20 08:32:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

         */
        public void markCompleted() {
            this.completed = true;
        }
    
        /**
         * Mark request as failed with error
         *
         * @param error exception that caused the failure
         */
        public void markFailed(Exception error) {
            this.error = error;
            this.completed = true;
        }
    
        /**
         * Get error if request failed
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. docs/features/events.md

            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’t have a corresponding `end` event.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                attemptCount.incrementAndGet();
                throw new RuntimeException("Persistent failure");
            });
    
            try {
                fesenClient.get(c -> mockFuture);
                fail();
            } catch (RuntimeException e) {
                assertEquals("Persistent failure", e.getMessage());
            }
    
            // Should try initial + maxRetryCount times (1 + 3 = 4)
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  6. cmd/erasure-sets.go

    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json) - return failure
    - Any unrecognized disks - return failure
    
    Some disks are offline and we have quorum.
    -----------------
    - Some unformatted - format all and return success,
      treat disks offline as corrupted.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  7. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    /**
     * An adverse action to take on a socket, intended to exercise failure modes in the calling code.
     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        assertFailsWith<SSLPeerUnverifiedException> {
          call.execute()
        }.also { expected ->
          // Certificate pinning fails!
          assertThat(expected.message!!).startsWith("Certificate pinning failure!")
        }
      }
    
      @Test
      fun unrelatedPinnedIntermediateCertificateInChain() {
        // https://github.com/square/okhttp/issues/4729
        platform.expectFailureOnConscryptPlatform()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
  9. cmd/format-erasure_test.go

    			false,
    		},
    	}
    
    	// Valid all test cases.
    	for i, testCase := range testCases {
    		if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success {
    			t.Errorf("Test %d: Expected failure %s", i+1, err)
    		}
    	}
    }
    
    // Tests getFormatErasureInQuorum()
    func TestGetFormatErasureInQuorumCheck(t *testing.T) {
    	setCount := 2
    	setDriveCount := 16
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/VerifyException.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Exception thrown upon the failure of a <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>,
     * including those performed by the convenience methods of the {@link Verify} class.
     *
     * @since 17.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top