- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 2,310 for rethrow (0.04 seconds)
-
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
} @Test 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 assertNotNull(caught);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
synchronized (lock) { try { while (used == 0) { lock.wait(); } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); } result = pipe_buf[beg_idx] & 0xFF; beg_idx = (beg_idx + 1) % pipe_buf.length; } return result; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
} /** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public <T extends B> @Nullable T putInstance(Class<T> type, T value) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
* * @return the service address * @throws IOException if address cannot be determined */ public InetAddress getAddress() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return InetAddress.getLocalHost(); } /** * Get the port the service is listening on * * @return the service portCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
final String serializer = getSerializerType(); return switch (serializer) { case KRYO -> serializeWithKryo(obj); case JAVABIN -> SerializeUtil.fromObjectToBinary(obj); default -> throw new IllegalArgumentException("Unexpected value: " + serializer); }; } /** * Deserializes a byte array back to an object. * <p>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 10K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
* @param scheduledJob the scheduled job to register */ public void register(final LaCron cron, final ScheduledJob scheduledJob) { if (scheduledJob == null) { throw new ScheduledJobException("scheduledJob parameter is null. Cannot register a null job."); } final String id = scheduledJob.getId(); if (!Constants.T.equals(scheduledJob.getAvailable())) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(testFileId, storedFileId); } @Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); assertNotNull(requestWithNull); } @Test @DisplayName("setFileId should update file ID")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
@J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception { Exception expected = new IllegalArgumentException(); Callable<String> callable = () -> { throw expected; }; AsyncCallable<String> asyncCallable = Callables.asAsyncCallable(callable, newDirectExecutorService()); ListenableFuture<String> future = asyncCallable.call();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0)