- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 3,380 for throws (4.91 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
@Test void testFailureWithNoAlternativeChannels() throws Exception { failedChannel.addPendingOperation(mockOperation); when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels")); IOException error = new IOException("Connection failed"); // Should not throw exception even if no alternative channelsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @return the Type 3 message to send to the server * @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException { if (this.auth instanceof NtlmNtHashAuthenticator) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
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(() -> { try { Thread.sleep(1000);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/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[2]); // salt length assertEquals(0, buffer[3]); } @Test @DisplayName("Should decode context correctly") void testDecode() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
default -> null; // Or throw an exception if unexpected token }; } /** * Parses array values from JSON parser. * * @param jsonParser the JSON parser * @return the parsed array as a list * @throws IOException if an I/O error occurs */ protected Object parseArray(final JsonParser jsonParser) throws IOException {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Dec 14 01:18:25 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
sortedMap.put("two", 2); sortedMap.put("three", 3); return sortedMap; } @Override protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() throws UnsupportedOperationException { return -1; } @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java
@Override public final void tearDown() { try { sloppyTearDown(); } catch (Throwable t) { logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t); } } public abstract void sloppyTearDown() throws Exception;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
void testGetByNameWithLocalhost() throws UnknownHostException { // When Address address = nameServiceClient.getByName("localhost"); // Then assertNotNull(address, "Should return address for localhost"); } @Test @DisplayName("Should handle IP address in getByName") void testGetByNameWithIPAddress() throws UnknownHostException { // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
private DfsReferralData dfsReferral; DummySmbResourceLocator(String urlStr) throws MalformedURLException { if (urlStr == null) { throw new IllegalArgumentException("URL string must not be null"); } if (!urlStr.startsWith("smb://")) { throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
*/ protected final File getTempDir() throws IOException { if (tempDir == null) { tempDir = createTempDir(); } return tempDir; } /** * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will * be deleted in the tear-down for this test. */ protected final File createTempFile() throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0)