- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 2,582 for throwIt (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
mockedStaticAuthData.close(); } /** * Test constructor with a valid ASN.1 token. * * @throws IOException if ASN.1 encoding fails. * @throws PACDecodingException if PAC decoding fails. */ @Test void testConstructor_ValidToken() throws IOException, PACDecodingException { // 1. GIVEN // Create a mock KerberosAuthData to be returned by the mocked parse method
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
/** * Test handling of IOException */ @Test void testDoGet_IOException() throws Exception { // Create a test-specific NetworkExplorer that throws IOException networkExplorer = new NetworkExplorer() { @Override public void init(ServletConfig config) throws ServletException { try { setFieldsViaReflection(this, false, "jCIFS");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt"); assertTrue(filter.accept(dir, "Hello.TXT")); } @Test void acceptReturnsFalseWhenNameDoesNotMatch() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
* the set of projects we want to build then add an edge, otherwise throw * the edge away because that dependency is not within the set of projects * we are trying to build. we assume a closed set.</li> * <li>do a topo sort on the graph that remains.</li> * </ul> * @throws DuplicateProjectException if any projects are duplicated by id */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0)