- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 46 for getError (0.04 seconds)
-
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Setup mock RPC response for failure WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class); when(mockResponse.isSuccess()).thenReturn(false); when(mockResponse.getError()).thenReturn("Registration failed"); WitnessRpcClient mockRpc = mock(WitnessRpcClient.class); lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
artifact.setResolved(true); } else if (!artifact.getFile().exists()) { String error = updateCheckManager.getError(artifact, repository); if (error != null) { throw new TransferFailedException("Failure to resolve " + remotePath + " from " + repository.getUrl()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertViolations(result, 0, 4, 0); assertContains(result.getErrors().get(0), "duplicate execution with id a"); assertContains(result.getErrors().get(1), "duplicate execution with id default"); assertContains(result.getErrors().get(2), "duplicate execution with id c"); assertContains(result.getErrors().get(3), "duplicate execution with id b"); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
assertNotNull(response); assertEquals(100, response.getTook()); assertFalse(response.hasError()); assertNotNull(response.getErrors()); assertEquals(0, response.getErrors().size()); } @Test public void test_constructorWithErrors() throws Exception { List<Throwable> errors = new ArrayList<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertSame(mirrorA, mirrorSelector.getMirror(getRepo("a", "http://a.a"), mirrors)); assertSame(mirrorB, mirrorSelector.getMirror(getRepo("b", "http://a.a"), mirrors)); assertSame(mirrorC2, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors)); assertSame(mirrorC, mirrorSelector.getMirror(getRepo("d", "http://d"), mirrors));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java
assertEquals(5, response.getNumberOfInputDocs()); assertEquals(100, response.getTook()); assertFalse(response.hasError()); assertNotNull(response.getErrors()); assertEquals(0, response.getErrors().size()); } @Test public void test_constructorWithErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); errors.add(new Exception("Test error 1"));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/perf-tests.go
mu.Unlock() } }(i) } wg.Wait() // We already saw write failures, no need to proceed into read's if retError != "" { return SpeedTestResult{ Uploads: totalBytesWritten, Downloads: totalBytesRead, UploadTimes: uploadTimes, Error: retError, }, nil } downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration) defer downloadsCancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active); assertEquals(1, problems.getErrors().size()); assertEquals( "Failed to determine activation for profile one: BOOM", problems.getErrors().get(0)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
/** * 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) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K bytes - Click Count (0)