- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 3,282 for throwIt (0.06 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
* Opens a connection to the S3 URL. * * @param u The URL to open a connection to * @return A new S3URLConnection instance * @throws IOException If the connection cannot be opened */ @Override protected URLConnection openConnection(final URL u) throws IOException { return new S3URLConnection(u); } /** * S3URLConnection is a URL connection implementation for accessing S3 objects.Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 07:57:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(length); _dst.enc_ndr_short(impersonation_level); _dst.enc_ndr_small(context_mode); _dst.enc_ndr_small(effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException { _src.align(4);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 42.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
infoField.set(msrpcShareGetInfo, info502); // Test getSecurity with empty descriptor - should throw exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testGetSecurityWithLargeSecurityDescriptor() throws Exception { // Test with large valid security descriptor
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (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."); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
void connectWrapException_wraps_io_and_unkhost() throws Exception { // Subclass to control connect() behavior SmbTreeConnection c = new SmbTreeConnection(ctx) { @Override public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException { throw new java.net.UnknownHostException("nohost"); } };
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (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";
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
// transition to DONE public void testInterruptThrows() throws Exception { CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); SettableFuture<String> taskResult = SettableFuture.create(); InterruptibleTask<String> task = new InterruptibleTask<String>() { @Override String runInterruptibly() throws Exception { BrokenChannel bc = new BrokenChannel();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
public void testClosedAuthenticatorBlocking() throws Exception { NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "BlockedPass123!"); // Close the authenticator auth.close(); // All these operations should throw IllegalStateException assertThrows(IllegalStateException.class, () -> auth.getPassword());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
} /** * Initializes the extractor by starting the office manager. * * @throws CrawlerSystemException if the office manager is null or fails to start */ @PostConstruct public void init() { if (officeManager == null) { throw new CrawlerSystemException("officeManager is null."); } try { officeManager.start();Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 10.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
throws IOException { return appendTo(appendable, iterable(first, second, rest)); } /** * Appends the string representation of each of {@code parts}, using the previously configured * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable, * Iterable)}, except that it does not throw {@link IOException}. */ @CanIgnoreReturnValueCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0)