- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 2,310 for rethrow (0.06 seconds)
-
src/main/java/org/codelibs/fess/suggest/request/Request.java
final String error = getValidationError(); if (!Strings.isNullOrEmpty(error)) { throw new IllegalArgumentException(error); } final Deferred<T> deferred = new Deferred<>(); try { processRequest(client, deferred); } catch (final Exception e) { throw new SuggesterException("Failed to execute request: " + getClass().getSimpleName(), e); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
if (localValue == null | localValue instanceof DelegatingToFuture) { throw new IllegalStateException("Task has not completed"); } if (localValue instanceof Failure) { throw new IllegalStateException("Task completed with exception"); } if (localValue instanceof Cancellation) { throw new IllegalStateException("Task was cancelled"); } if (localValue == NULL) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching PluginException String expectedMessage = "Plugin loading failed"; try { throw new PluginException(expectedMessage); } catch (PluginException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.1K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
val protocolString = Platform.get().getSelectedProtocol(sslSocket) val protocol = if (protocolString != null) get(protocolString) else null if (protocol != Protocol.HTTP_2) { throw ProtocolException("Protocol $protocol unsupported") } val connection = Http2Connection .Builder(false, TaskRunner.INSTANCE)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
private File getTestDir() throws IOException { if (testDir != null) { return testDir; } URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
join(); } catch (ReflectiveOperationException e) { // stop() threw or did not exist. Don't join() the thread, which might hang forever. } if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} if (!foundKerberos) { throw new SmbUnsupportedOperationException("Server does not support kerberos authentication"); } } } catch (SmbException e) { throw e; } catch (IOException e1) { log.debug("Ignoring invalid initial token", e1); } try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
} finally { CloseableUtil.close(ois); } } catch (final IOException ex) { throw new IORuntimeException(ex); } catch (final ClassNotFoundException ex) { throw new ClassNotFoundRuntimeException(ex); } } /** * Creates a permissive filter that allows all classes to be deserialized. * <p>Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally { iterator = null; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0)