- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,867 for exception (0.4 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } /** * Test constructor with various cause types */ public void test_constructor_withVariousCauseTypes() { // With Exception cause Exception exceptionCause = new Exception("Exception cause");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
Exception exception = new Exception("Test failure"); result.addFailure(exception); assertTrue(result.hasFailure()); assertEquals(1, result.getFailures().size()); assertEquals(exception, result.getFailures().get(0)); } @Test public void test_addMultipleFailures() throws Exception { SuggestWriterResult result = new SuggestWriterResult();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/reference/exceptions.md
# Exceptions - `HTTPException` and `WebSocketException` These are the exceptions that you can raise to show errors to the client. When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client. You can use: * `HTTPException` * `WebSocketException`
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 597 bytes - Viewed (0) -
fastapi/exceptions.py
from pydantic import BaseModel, create_model from starlette.exceptions import HTTPException as StarletteHTTPException from starlette.exceptions import WebSocketException as StarletteWebSocketException class EndpointContext(TypedDict, total=False): function: str path: str file: str line: int class HTTPException(StarletteHTTPException): """ An HTTP exception you can raise in your own code to show errors to the client.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, c3Exception, c1Exception)); } public static void testSuppressingSuppressor() throws IOException { Closer closer = Closer.create(); IOException thrownException = new IOException(); IOException c1Exception = new IOException(); RuntimeException c2Exception = new RuntimeException();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// All threads should fail with the same IOException (project ID is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get()); // All exceptions should be about project ID being blank for (Exception e : exceptions) { assertTrue(e instanceof IOException);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, c3Exception, c1Exception)); } public static void testSuppressingSuppressor() throws IOException { Closer closer = Closer.create(); IOException thrownException = new IOException(); IOException c1Exception = new IOException(); RuntimeException c2Exception = new RuntimeException();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against the input's exception. "The input's exception" means the cause of * the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a * different kind of exception, that exception itself. To avoid hiding bugs and otherRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
// All threads should fail with the same IOException (endpoint is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get()); // All exceptions should be about endpoint being blank for (Exception e : exceptions) { assertTrue(e instanceof IOException);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
* @param request the request data * @param exceptionList the list of exceptions that occurred during retries */ void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList); /** * Called when an exception occurs during a request attempt. * * @param client the fault-tolerant clientRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.8K bytes - Viewed (0)