- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 3,030 for thrown (0.06 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
void testMultipleCloseOnManagedResource() throws Exception { TestResource resource = new TestResource("multiclose"); ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throw assertDoesNotThrow(managed::close); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
/** * Accepts a writer. * @param writer A writer. * @throws IOException if an I/O error occurs. * @throws TikaException if a Tika exception occurs. * @throws SAXException if a SAX exception occurs. */ void accept(Writer writer) throws IOException, TikaException, SAXException; } /** * Sets the output encoding.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} } } @Test @Throws(Exception::class) fun compressedMessages() { successfulExtensions("permessage-deflate") } @Test @Throws(Exception::class) fun compressedMessagesNoClientContextTakeover() { successfulExtensions("permessage-deflate; client_no_context_takeover") } @Test @Throws(Exception::class)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* * @param url An smb URL string representing the file to write to * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is not properly formatted * @throws UnknownHostException if the host cannot be resolved */ public SmbFileOutputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException { this(url, false); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
* @param smbFile the SmbFile directory to list * @return array of SmbFile objects representing the directory contents * @throws SmbException if an error occurs */ public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException { if (!smbFile.isDirectory()) { throw new SmbException("Not a directory: " + smbFile.getPath()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
}); assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception for truncated data"); } /** * Test decode with unknown AvPair type */ @Test @DisplayName("Decode unknown AvPair type as generic AvPair") void testDecodeUnknownType() throws CIFSException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; int unknownType = 0xFF;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
} private void parse(final byte[] material) throws IOException { int pos = 0; for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if (readULong(material, pos) != NTLMSSP_TYPE1) { throw new IOException("Not a Type 1 message."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); } @Test @DisplayName("Should throw exception when buffer too small for path") void testBufferTooSmallForPath() throws Exception { // Given String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
@Test void testInitializationWithoutMultiChannelSupport() throws IOException { when(mockConfig.isUseMultiChannel()).thenReturn(false); ChannelManager manager = new ChannelManager(mockContext, mockSession); manager.initializeMultiChannel(); assertFalse(manager.isUseMultiChannel()); } @Test void testGetHealthyChannels() throws UnknownHostException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
public void readFully(byte[] b, int off, int len) throws IOException { ByteStreams.readFully(this, b, off, len); } @Override public int skipBytes(int n) throws IOException { return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override public int readUnsignedByte() throws IOException { int b1 = in.read(); if (b1 < 0) { throw new EOFException(); } return b1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0)