- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 3,282 for throwIt (0.04 seconds)
-
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* @return The object bound to <code>jndiName</code>. * @throws NamingRuntimeException * Thrown if the initial context cannot be created. */ public static Object lookup(final InitialContext ctx, final String jndiName) throws NamingRuntimeException { assertArgumentNotNull("ctx", ctx); assertArgumentNotEmpty("jndiName", jndiName);
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
* @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * @throws X if {@code get} throws any checked exception except for an {@code ExecutionException} * whose cause is not itself a checked exception * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with a * {@code RuntimeException} as its cause * @throws ExecutionError if {@code get} throws an {@code ExecutionException} with an {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Now, mock the behavior for MsrpcLsarClose to throw IOException doThrow(new IOException("Close network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Act & Assert IOException thrown = assertThrows(IOException.class, () -> { handle.close(); }); assertEquals("Close network error", thrown.getMessage());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
when(mockDeferredBuffer.dec_ndr_long()).thenReturn(-1); // Invalid _name_buffers // When/Then: Should throw exception NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer)); assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage()); } } @Nested @DisplayName("SamrSamArray Tests") class SamrSamArrayTests {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
* * @param resource the login handling resource to check permission for * @throws LoginRequiredException if login is required * @throws UserRoleLoginException if the user doesn't have required roles */ @Override protected void checkPermission(final LoginHandlingResource resource) throws LoginRequiredException { if (FessAdminAction.class.isAssignableFrom(resource.getActionClass())) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
for (Thread t : threads) { t.join(); } if (thrown.get() != null) { throw thrown.get(); } assertEquals(1, count.get()); } @J2ktIncompatible @GwtIncompatible // Thread @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public void testSynchronizedSupplierThreadSafe() throws InterruptedException { Supplier<Integer> nonThreadSafe =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
for (Thread t : threads) { t.join(); } if (thrown.get() != null) { throw thrown.get(); } assertEquals(1, count.get()); } @J2ktIncompatible @GwtIncompatible // Thread @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public void testSynchronizedSupplierThreadSafe() throws InterruptedException { Supplier<Integer> nonThreadSafe =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
reset(mockHandle); } @Test void testConstructor_SuccessfulConnect4() throws IOException { // Test case: Constructor with successful MsrpcSamrConnect4 String server = "testServer"; int access = 123; // No exception thrown by sendrecv for MsrpcSamrConnect4 doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @throws ExecutionException if {@code closingFuture} is a failed step * @throws CancellationException if the {@code closingFuture}'s future was cancelled * @throws IllegalArgumentException if {@code closingFuture} is not one of the futures passed to * {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0)