- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,867 for exception (0.05 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture = ClosingFuture.submit(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// This test verifies that attempting to open a connection for an unsupported protocol // results in an IOException, as no default handler should be found. assertThrows(IOException.class, () -> { handler.openConnection(new URL("unknownprotocol://somehost/path")); }, "Should throw IOException for an unknown protocol."); } @Test void testSetURLStreamHandlerFactory_SuccessFirstTime() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertEquals(unicodeFileName, notifications.get(0).getFileName()); } @Test @DisplayName("Test readParametersWireFormat with non-aligned nextEntryOffset throws exception") void testReadParametersWireFormatNonAlignedOffset() throws Exception { ByteBuffer buffer = ByteBuffer.allocate(100); buffer.order(ByteOrder.LITTLE_ENDIAN); // Create notification with non-aligned nextEntryOffset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; import org.junit.Test; public class DeferredTest { @Test public void test_doneBeforeResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Should handle empty notification list") void testEmptyNotificationList() throws Exception { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() { byte[] buffer = new byte[28]; SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 0), "Should throw exception when length is 0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
*/ package jcifs.smb1.smb1; /** This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for complete details. */ /** * An abstract class for NTLM authentication in SMB1 protocol.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
import org.codelibs.fess.crawler.Constants; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.codelibs.fess.exception.CommandExecutionException; import org.codelibs.fess.opensearch.user.exentity.User; /** * Authentication chain implementation that executes external commands for user operations. * Provides user management through command-line tool execution for password changes and user deletion. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ## Locale.setDefault(Locale.JAPANESE);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { // Delete test indices and settings indices for complete cleanup try { runner.admin().indices().prepareDelete("SuggesterRefactoringTest*", "fess_suggest*").execute().actionGet(); } catch (Exception e) {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0)