- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 3,282 for throwIt (0.05 seconds)
-
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* * @param result the list of search results * @param consumer the BiConsumer to process entry DN and role name * @throws NamingException if LDAP naming exception occurs */ protected void processSearchRoles(final List<SearchResult> result, final BiConsumer<String, String> consumer) throws NamingException { processSearchRoles(result, entryDn -> { final String name = getSearchRoleName(entryDn);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 86.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesTest.java
return suite; } public void testRoundTripSources() throws Exception { File asciiFile = getTestFile("ascii.txt"); ByteSource byteSource = Files.asByteSource(asciiFile); assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8)); } public void testToByteArray() throws IOException { File asciiFile = getTestFile("ascii.txt");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 22.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
try { ruleManager.addRule(-1, rule2); fail("Should throw IndexOutOfBoundsException for negative index"); } catch (IndexOutOfBoundsException e) { // Expected } try { ruleManager.addRule(5, rule2); fail("Should throw IndexOutOfBoundsException for index > size"); } catch (IndexOutOfBoundsException e) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
* * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; if (len < 24) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (3) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
* * @param responseData the response data containing the response body * @return a temporary file containing the response body * @throws CrawlingAccessException if an error occurs while reading the response body */ public static File createResponseBodyFile(final ResponseData responseData) { File tempFile = null;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Nov 22 13:28:22 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ public Type3Message(final CIFSContext tc, final Type2Message type2, final String targetName, final String password, final String domain, final String user, final String workstation, final int flags) throws GeneralSecurityException, CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
outputStream.close(); // When & Then - after close, tmp is null so write(int) will throw NullPointerException // This is the actual behavior of the implementation assertThrows(NullPointerException.class, () -> outputStream.write(65)); } @Test void testWriteNullArray() throws CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() { val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest() assertThat(request.method).isEqualTo("PUT")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
return applicationVersion; } @Override public void initialize() throws InitializationException { String mavenVersion = rtInfo.getMavenVersion(); if (mavenVersion == null || mavenVersion.isEmpty()) { throw new InitializationException("Unable to read Maven version from maven-core"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
@Override public String apply(Integer input) { if (input.intValue() == VALID_INPUT_DATA) { return RESULT_DATA; } else { throw WRAPPED_EXCEPTION; } } } public void testFutureGetThrowsFunctionException() throws Exception { inputFuture.set(EXCEPTION_DATA); listener.assertException(WRAPPED_EXCEPTION); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0)