- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 2,310 for rethrow (0.05 seconds)
-
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* then: * * <ul> * <li>{@code isDone()} must return {@code true} * <li>{@code isCancelled()} must return {@code false} * <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the * return value of this method as its cause * </ul> * * <p>This method is {@code protected} so that classes like {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LegacyComparable.java
private final String value; LegacyComparable(String value) { this.value = value; } @Override public int compareTo(Object object) { // This method is spec'd to throw CCE if object is of the wrong type LegacyComparable that = (LegacyComparable) object; return this.value.compareTo(that.value); } @Override public boolean equals(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestInputStream.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
SmbFileFilter throwOnNull = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException { if (file == null) { throw new SmbException("null file"); } return true; } }; assertThrows(SmbException.class, () -\u003e throwOnNull.accept(null)); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
if (NAME.equals(config)) { try { return prompter.promptForPassword("Enter the master password: "); } catch (PrompterException e) { throw new SecDispatcherException("Could not collect the password", e); } } return null; } @Override public SecDispatcher.ValidationResponse validateConfiguration(String config) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 2.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
val request = Request .Builder() .url("https://publicobject.com/robots.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for (certificate in response.handshake!!.peerCertificates) { println(CertificatePinner.pin(certificate)) } } } } fun main() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java
throws ExecutionException { try { return future.get(); } catch (InterruptedException e) { // Should never be thrown in GWT but play it safe throw new IllegalStateException(e); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/TemplateUtils.java
try { final SimpleTemplateEngine engine = new SimpleTemplateEngine(); engine.createTemplate(template).make(bindings).writeTo(writer); } catch (ClassNotFoundException e) { throw new RuntimeException(e); } return writer.toString().replace("\\r", ""); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 14:45:41 GMT 2021 - 1.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
private DummyInternalEntry() { throw new AssertionError(); } @Override public DummyInternalEntry getNext() { throw new AssertionError(); } @Override public int getHash() { throw new AssertionError(); } @Override public Object getKey() { throw new AssertionError(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0)