- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,226 for threw (0.02 seconds)
-
android/guava/src/com/google/common/hash/SneakyThrows.java
* write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); } @SuppressWarnings("unchecked") // not really safe, but that's the point private Error throwIt(Throwable t) throws T { throw (T) t; } private SneakyThrows() {}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
@Override abstract ImmutableSet<Cell<R, C, V>> createCellSet(); @Override final UnmodifiableIterator<Cell<R, C, V>> cellIterator() { throw new AssertionError("should never be called"); } @Override final Spliterator<Cell<R, C, V>> cellSpliterator() { throw new AssertionError("should never be called"); } @Override public ImmutableCollection<V> values() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
// original recommended version version = restriction.recommendedVersion; } /* TODO should throw this immediately, but need artifact else { throw new OverConstrainedVersionException( "Restricting incompatible version ranges" ); } */ return new VersionRange(version, restrictions);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (TimeoutException e) { throw newWithCause(exceptionClass, e); } catch (ExecutionException e) { wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); throw new AssertionError(); } } @VisibleForTesting interface GetCheckedTypeValidator {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
throw new UnsupportedOperationException(); } @Override public boolean isShutdown() { throw new UnsupportedOperationException(); } @Override public boolean isTerminated() { throw new UnsupportedOperationException(); } @Override public void shutdown() { throw new UnsupportedOperationException(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
length: Int, flags: Int, streamId: Int, ) { if (length != 4) throw IOException("TYPE_RST_STREAM length: $length != 4") if (streamId == 0) throw IOException("TYPE_RST_STREAM streamId == 0") val errorCodeInt = source.readInt() val errorCode = ErrorCode.fromHttp2(errorCodeInt) ?: throw IOException( "TYPE_RST_STREAM unexpected error code: $errorCodeInt", )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 19.8K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
} catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } public Settings read(Reader reader) throws IOException, XmlPullParserException { try { return new Settings(delegate.read(reader)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean remove(@Nullable Object object) { throw new UnsupportedOperationException(); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
* Iterable)}, except that it does not throw {@link IOException}. * * @since 11.0 */ @CanIgnoreReturnValue public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) { try { appendTo((Appendable) builder, parts); } catch (IOException impossible) { throw new AssertionError(impossible); } return builder; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0)