- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 453 for throwing (1.16 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
void testConstructorWithInvalidInformationLevel() { // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99); assertNotNull(trans2); // Exception should be thrown when trying to write parameters byte[] buffer = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
@Test @DisplayName("Should handle null buffer in write operations") void testWriteOperationsWithNullBuffer() { // Write operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.writeSetupWireFormat(null, 0)); assertEquals(0, response.writeParametersWireFormat(null, 0)); assertEquals(0, response.writeDataWireFormat(null, 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
final Collection<? extends Throwable> exceptions; private ClusterException(Collection<? extends Throwable> exceptions) { super( exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", exceptions.iterator().next()); ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); this.exceptions = Collections.unmodifiableCollection(temp); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
} catch (Exception e) { // Expected that it may fail due to missing dependencies in test environment // but method should be callable assertNotNull("Exception should not be null if thrown", e); } } public void test_package_structure() { assertEquals("Should be in timer package", "org.codelibs.fess.timer", HotThreadMonitorTarget.class.getPackage().getName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
assertThrows(TimeoutException.class, () -> manager.awaitHealthy(1, MILLISECONDS)); manager.awaitHealthy(5, SECONDS); // no exception thrown manager.stopAsync(); assertThrows(TimeoutException.class, () -> manager.awaitStopped(1, MILLISECONDS)); manager.awaitStopped(5, SECONDS); // no exception thrown } /** * This covers a case where if the last service to stop failed then the stopped callback would
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
/** Constructor for use by subclasses. */ protected OldAbstractFuture() {} /* * Improve the documentation of when InterruptedException is thrown. Our * behavior matches the JDK's, but the JDK's documentation is misleading. */ /** * {@inheritDoc} *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* possibly run in another thread. * * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it * may also wrap a checked exception in some cases. * * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
# Using Dataclasses { #using-dataclasses } FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses. But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way: {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
dfsImpl = new DfsImpl(mockContext); } // Test for the constructor @Test void testDfsImplConstructor() { // The constructor is called in setUp(), so if no exception is thrown, this test passes. assertNotNull(dfsImpl); } // Tests for isTrustedDomain @Test void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
*/ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Method; import org.codelibs.core.lang.MethodUtil; /** * Exception thrown when a {@link Method} cannot be found. * * @author higa * */ public class MethodNotFoundRuntimeException extends ClRuntimeException { private static final long serialVersionUID = -3508955801981550317L;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.3K bytes - Viewed (0)