- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 2,310 for rethrow (0.08 seconds)
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile. // We cannot directly mock `new SmbFile()`, so we rely on the fact that if it doesn't throw, it's working as expected. // This test primarily ensures that the wrapper correctly handles the MalformedURLExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
throw new UnsupportedOperationException(); } @Override public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { throw new UnsupportedOperationException(); } @Override public @Nullable V putIfAbsent(K key, V value) { throw new UnsupportedOperationException(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
@Override public final boolean addAll(int index, Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } @Override public final E set(int index, E element) { throw new UnsupportedOperationException(); } @Override public final void add(int index, E element) { throw new UnsupportedOperationException(); } @Override public final E remove(int index) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
// contract of ExitException is that nothing needed by us throw e; } catch (Exception e) { // other exceptions (including InvokerException but sans Exit, see above): we need to inform user throw handleException(context, e); } } finally { Thread.currentThread().setContextClassLoader(oldCL);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractLoadingCache.java
* #putAll} is implemented in terms of {@link #put}, {@link #invalidateAll(Iterable)} is implemented * in terms of {@link #invalidate}. The method {@link #cleanUp} is a no-op. All other methods throw * an {@link UnsupportedOperationException}. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible public abstract class AbstractLoadingCache<K, V> extends AbstractCache<K, V>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java
throw new IllegalArgumentException("script only works when there is exactly one value"); } return values.nextValue(); } catch (IOException e) { throw new RuntimeException(e); } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 13:45:50 GMT 2021 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
try (Writer out = output) { new SettingsStaxWriter().write(out, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing settings", e); } } @Override public void write(OutputStream output, Map<String, Object> options, Settings settings) throws IOException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertTrue(foundTestMethod); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) { assertEquals(message, e.getMessage()); assertNull(e.getCause()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0)