- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 2,976 for throwIt (0.12 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
throw new RuntimeException(e); } }, "close() should not throw any exception"); } @Test @DisplayName("remove should not throw any exception") void testRemoveDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { emptyIterator.remove(); }, "remove() should not throw any exception"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
assertTrue(causeStackTrace.length > 0); } public void test_throwAndCatch() { // Test that the exception can be thrown and caught properly ServletException originalException = new ServletException("Throw test"); try { throw new ServletRuntimeException(originalException); } catch (ServletRuntimeException caught) { // Verify the caught exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
/** * Constructs a PAC logon information object from raw PAC data. * @param data the raw PAC logon info buffer data * @throws PACDecodingException if the data is malformed or invalid */ public PacLogonInfo(final byte[] data) throws PACDecodingException { try { final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
val routes = mutableListOf<Route>() fun onlyResponse() = responses.single() fun onlyRoute() = routes.single() @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Test that it can be thrown as IOException assertThrows(IOException.class, () -> { throw exception; }); } } @Nested @DisplayName("Edge Cases") class EdgeCaseTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
import org.opensearch.index.query.functionscore.ScoreFunctionBuilder; public class KeyMatchHelperTest extends UnitFessTestCase { private KeyMatchHelper keyMatchHelper; @Override public void setUp() throws Exception { super.setUp(); keyMatchHelper = new KeyMatchHelper(); ComponentUtil.register(new SystemHelper(), "systemHelper"); ComponentUtil.register(new VirtualHostHelper(), "virtualHostHelper");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 10.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
* @return The list of compiled include patterns. * @throws CrawlerSystemException if the patterns cannot be loaded. */ @Override public List<Pattern> getIncludeUrlPatternList(final String sessionId) { try { return includeFilterCache.get(sessionId); } catch (final ExecutionException e) { throw new CrawlerSystemException(e); } } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* @return the number of elements transferred * @throws InterruptedException if interrupted while waiting * @since 28.0 (but only since 33.4.0 in the Android flavor) */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // BlockingQueue public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} private String createIndexName(final String index) { return index + '.' + ZonedDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")); } private String getDefaultMappings() throws IOException { final StringBuilder mappingSource = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader(Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 20.7K bytes - Viewed (3) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
} /** * {@inheritDoc} * * @throws SMBProtocolDecodingException * if the response data is malformed * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1)