- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 578 for exception (0.04 sec)
-
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 Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 597 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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
Exception exception = assertThrows(Exception.class, () -> { new KerberosRelevantAuthData(emptyToken, keys); }, "An exception should be thrown for an empty token."); // The exception could be PACDecodingException or NullPointerException assertTrue(exception instanceof PACDecodingException || exception instanceof NullPointerException,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/CIFSException.java
*/ package jcifs; import java.io.IOException; /** * Base for all checked exceptions used by this library * * @author mbechler * */ public class CIFSException extends IOException { /** * */ private static final long serialVersionUID = 7806460518865806784L; /** * Constructs a CIFS exception with no detail message. */ public CIFSException() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
@DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() { // Create exception with default constructor TransportException exception = new TransportException(); // Verify the exception is created and has no message assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// When SmbException exception = new SmbException(ntStatus, false); // Then assertTrue(exception.getMessage().toLowerCase().contains("sharing") || exception.getMessage().toLowerCase().contains("violation") || exception.getMessage().toLowerCase().contains("used") || exception.getMessage().toLowerCase().contains("being used") || exception.getMessage().toLowerCase().contains("process"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
* * @param level the severity level of the message * @param message the message to be logged * @param error the associated exception, or null if not applicable */ void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error); /** * Logs a debug message without an associated exception. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Install custom exception handlers { #install-custom-exception-handlers } You can add custom exception handlers with <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">the same exception utilities from Starlette</a>. Let's say you have a custom exception `UnicornException` that you (or a library you use) might `raise`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
/** * Base class for all maven exceptions carrying {@link BuilderProblem}s. * * @since 4.0.0 */ @Experimental public abstract class MavenBuilderException extends MavenException { /** * The collection of problems associated with this exception. */ private final ProblemCollector<BuilderProblem> problems; /** * Constructs a new exception with the specified message and cause.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
void mockInteraction_stubsThrow_andVerifiesInvocation() { // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException), // we need to use a method that can throw checked exceptions or wrap it in a RuntimeException @SuppressWarnings("unchecked") Supplier<String> supplier = mock(Supplier.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)