- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 2,324 for exception (0.41 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
Map<Element, Element> map; CollectionBenchmarkSampleData elems; @Param({"0", "1", "100", "10000"}) int elements; @BeforeExperiment public void prepareContents() throws Exception { mapsImpl = mapEnums.get(implName); elems = new CollectionBenchmarkSampleData(elements); contents = new HashMap<>(); for (Element key : elems.getValuesInSet()) { contents.put(key, key); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
public void test_loadDataStoreNameList_malformedXml() throws Exception { File jarFile = new File(tempDir, "malformed-datastore.jar"); createTestJarWithXml(jarFile, "This is not valid XML"); DataStoreFactory testFactory = new DataStoreFactory() { @Override protected List<String> loadDataStoreNameList() { // Will handle exception and log warning
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertArrayEquals(new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }, resp.getErrorData()); } @Test void throwsOnUnexpectedStructureSize() throws Exception { // structureSize != 49 and != 9 should raise an exception byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); byte[] buf = new byte[header.length + 10]; System.arraycopy(header, 0, buf, 0, header.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
@Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query address mockQueryAddress = mock(NbtAddress.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
import org.apache.maven.project.artifact.InvalidDependencyVersionException; import org.apache.maven.settings.Settings; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; /** */ @Named @Singleton @Deprecated public class DefaultPluginManager implements PluginManager { private final PlexusContainer container;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
@BeforeEach void setUp() { transactionMock = mock(SmbComTransactionResponse.class); } @Test void testSmbComQueryInformationResponseGetters() throws Exception { // The constructor is package‑private; use an anonymous subclass SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) { };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.exception; /** * The class CrawlerSystemException is a runtime exception that is thrown when a system error occurs during crawling. * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/ConnectionTimeoutException.java
* @param rootCause the cause of this exception */ public ConnectionTimeoutException(final Throwable rootCause) { super(rootCause); } /** * Constructs a new ConnectionTimeoutException with the specified detail message and cause. * @param msg the detail message * @param rootCause the cause of this exception */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)