- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 2,310 for rethrow (0.1 seconds)
-
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
final String servletPath = request.getServletPath(); final String pathPrefix = ADMIN_SERVER + token; if (!servletPath.startsWith(pathPrefix)) { throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token."); } final String path; final String value = servletPath.substring(pathPrefix.length());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:40 GMT 2026 - 13.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
* {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul> * <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals(...)} * expression involving {@code view} will throw) * <li>{@code hashCode()} does not throwCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} private static <T> Callable<T> callableThrowing(Exception exception) { return () -> { throw exception; }; } private static Runnable runnableThrowing(RuntimeException e) { return () -> { throw e; }; } @SuppressWarnings("serial") private static class SampleCheckedException extends Exception {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestBasePlugin.java
if (systemProperty(TESTS_REST_CLUSTER) == null) { if (systemProperty(TESTS_CLUSTER) != null || systemProperty(TESTS_CLUSTER_NAME) != null) { throw new IllegalArgumentException( String.format("%s, %s, and %s must all be null or non-null", TESTS_REST_CLUSTER, TESTS_CLUSTER, TESTS_CLUSTER_NAME) ); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Aug 05 18:56:52 GMT 2021 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} static final class BrokenChannel extends AbstractInterruptibleChannel { @Override protected void implCloseChannel() { throw new RuntimeException("I bet you didn't think Thread.interrupt could throw"); } void doBegin() { super.begin(); } } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). ToCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
} static final class BrokenChannel extends AbstractInterruptibleChannel { @Override protected void implCloseChannel() { throw new RuntimeException("I bet you didn't think Thread.interrupt could throw"); } void doBegin() { super.begin(); } } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). ToCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
} @Test public void testReleaseSendRegion() throws Exception { RdmaMemoryRegion region = bufferManager.getSendRegion(1024); assertNotNull(region); // Release should not throw exception assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region)); } @Test public void testGetReceiveRegion() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0)