- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 1,913 for errorf (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
}; addCallback(f, callback, directExecutor()); f.cancel(true); } public void testThrowErrorFromGet() { Error error = new AssertionError("ASSERT!"); ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error); MockCallback callback = new MockCallback(error); addCallback(f, callback, directExecutor()); } public void testRuntimeExceptionFromGet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws IOException if an I/O error occurs */ public PacDataInputStream(final InputStream in) throws IOException { this.dis = new DataInputStream(in); this.size = in.available(); } /** * Aligns the stream position to the specified boundary. * @param mask the alignment mask (typically 2, 4, or 8) * @throws IOException if an I/O error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
open class FailingCall : Call { override fun request(): Request = error("unexpected") override fun execute(): Response = error("unexpected") override fun enqueue(responseCallback: Callback): Unit = error("unexpected") override fun cancel(): Unit = error("unexpected") override fun isExecuted(): Boolean = error("unexpected") override fun isCanceled(): Boolean = error("unexpected")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/sts/web-identity.py
"scope": "openid"} url = authorize_url + "?" + urllib.parse.urlencode(params) return url @app.route('/oauth2/callback') def callback(): error = request.args.get('error', '') if error: return "Error: " + error authorization_code = request.args.get('code') data = {'grant_type': 'authorization_code', 'code': authorization_code, 'redirect_uri': callback_uri}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
replaceWith = ReplaceWith(expression = "request"), level = DeprecationLevel.ERROR, ) fun request(): Request = request @JvmName("-deprecated_protocol") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "protocol"), level = DeprecationLevel.ERROR, ) fun protocol(): Protocol = protocol @JvmName("-deprecated_code") @Deprecated(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0)