- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 2,541 for throwIt (0.04 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/dcerpc/msrpc/SamrPolicyHandle.java
* @param server the server name (null defaults to local server) * @param access the desired access rights * @throws IOException if an I/O error occurs during handle creation */ public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException { this.handle = handle; if (server == null) { server = "\\\\"; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws IOException if an I/O error occurs */ public short readShort() throws IOException { align(2); return Short.reverseBytes(this.dis.readShort()); } /** * Reads a 32-bit integer value with proper alignment and byte order. * @return the integer value in little-endian format * @throws IOException if an I/O error occurs */ public int readInt() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return trans.getServerEncryptionKey(); } catch (final SmbException e) { throw e; } catch (final IOException e) { throw new SmbException("Connection failed", e); } } @Override public void logon(final CIFSContext tf, final Address dc) throws SmbException { logon(tf, dc, 0); } @Override @Deprecated
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { this.parent = parent; this.wildcard = wildcard;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertSame(exception, e.getCause()); } catch (IOException e) { fail("Should throw CurlException, not IOException"); } } @Test public void testGetContentWithParser() throws IOException { CurlResponse response = new CurlResponse(); response.setEncoding("UTF-8"); String testContent = "42";
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not beRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2 } // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException @Test @DisplayName("watch() SMB1 without capability throws unsupported") void watch_smb1_noCapability_throwsUnsupported() throws Exception { when(handle.isValid()).thenReturn(true); when(handle.getTree()).thenReturn(tree);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* </p> * * @param obj the object to serialize * @return the serialized object as a byte array * @throws IllegalArgumentException if an unsupported serializer type is configured * @throws IORuntimeException if an I/O error occurs during serialization */ public byte[] fromObjectToBinary(final Object obj) { final String serializer = getSerializerType();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 07:09:17 UTC 2025 - 6.5K bytes - Viewed (3)