- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,971 for Exceptions (0.09 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
* so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs. new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); new DosFileFilter("?", SmbFile.ATTR_DIRECTORY); new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Установка пользовательских обработчиков исключений Вы можете добавить пользовательские обработчики исключений с помощью <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">то же самое исключение - утилиты от Starlette</a>. Допустим, у вас есть пользовательское исключение `UnicornException`, которое вы (или используемая вами библиотека) можете `вызвать`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A simplistic collection which implements only the bare minimum allowed by the spec, and throws * exceptions whenever it can. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> { // TODO: expose allow nulls parameter?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* down the executor after the last event has been posted to this event bus. * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers. * See {@link SubscriberExceptionHandler} for more information. * @since 16.0 */ public AsyncEventBus(Executor executor, SubscriberExceptionHandler subscriberExceptionHandler) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* true. * * It won't retry if the exception is a bug or a configuration problem, such as: * * * If the remote peer is untrusted: [exception] is an [SSLPeerUnverifiedException]. * * If received data is unexpected: [exception] is a [ProtocolException]. * * Each call is made on either a reused [Connection] from a pool, or on a new connection
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null cause SearchEngineClientException exception = new SearchEngineClientException(null, null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
} /** * Test exception handling during cleanup */ @Test @Timeout(5) public void testExceptionHandling() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Configure transport to throw exception on release Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K 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) -
docs/sts/client_grants/__init__.py
# -*- coding: utf-8 -*- import json # standard. import os import certifi # Dependencies import urllib3 from botocore.credentials import CredentialProvider, RefreshableCredentials from botocore.exceptions import CredentialRetrievalError from dateutil.parser import parse from .sts_element import STSElement class ClientGrantsCredentialProvider(CredentialProvider): """
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0)