- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,450 for exceptions (0.77 sec)
-
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Blocker blocker = new Blocker(this); blocker.setOwner(Thread.currentThread()); if (compareAndSet(currentRunner, blocker)) { // Thread.interrupt can throw arbitrary exceptions due to the nio InterruptibleChannel API // This will make sure that tasks don't get stuck busy waiting. // Some of this is fixed in jdk11 (see https://bugs.openjdk.org/browse/JDK-8198692) but
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
} @Test @DisplayName("should handle strategy exceptions gracefully") void shouldHandleStrategyExceptionsGracefully() throws Exception { UpgradeContext context = createMockContext(); Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class)); // Mock first strategy to throw exception when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("close method should not declare exceptions") void testCloseMethodExceptions() throws NoSuchMethodException { // Given Method closeMethod = SmbResource.class.getMethod("close"); // When Class<?>[] exceptions = closeMethod.getExceptionTypes(); // Then assertEquals(0, exceptions.length, "close() should not declare any exceptions");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorAction.java
import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; /** * Action class for handling general error pages. * This action displays error pages when unhandled exceptions occur * during search operations or page navigation. */ public class ErrorAction extends FessSearchAction { /** * Default constructor for ErrorAction. */ public ErrorAction() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbAuthException.java
package jcifs.smb1.smb1; /** * The <code>SmbAuthException</code> encapsulates the variety of * authentication related error codes returned by an SMB server. * <p> * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>. */ public class SmbAuthException extends SmbException { SmbAuthException(final int errcode) { super(errcode, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_pydantic_v1_error.py
import warnings from typing import Union import pytest from tests.utils import skip_module_if_py_gte_314 if sys.version_info >= (3, 14): skip_module_if_py_gte_314() from fastapi import FastAPI from fastapi.exceptions import PydanticV1NotSupportedError with warnings.catch_warnings(): warnings.simplefilter("ignore", UserWarning) from pydantic.v1 import BaseModel
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_validate_response.py
from typing import Optional, Union import pytest from fastapi import FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2K bytes - Viewed (0) -
tests/test_regex_deprecated_body.py
from typing import Annotated import pytest from fastapi import FastAPI, Form from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.testclient import TestClient from inline_snapshot import snapshot from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.post("/items/") async def read_items(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
"tutorial004_regex_an_py310", marks=( needs_py310, pytest.mark.filterwarnings( "ignore:`regex` has been deprecated, please use `pattern` instead:fastapi.exceptions.FastAPIDeprecationWarning" ), ), ), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 12:45:20 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
} // Runtime exceptions and other errors are likely not recoverable return false; } /** * Check if error suggests fallback to TCP is needed * * @param error the error to check * @return true if TCP fallback is recommended */ public boolean shouldFallbackToTcp(Exception error) { // Hardware errors suggest RDMA is not workingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)