- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,616 for threw (0.02 sec)
-
guava/src/com/google/common/base/Verify.java
* assertions are for. Note that assertions are not enabled by default; they are essentially * considered "compiled comments." * <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still * recommend using our {@link VerifyException} exception type. Throwing a plain {@link * RuntimeException} is frowned upon.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get(); if (v == null) { throw new ExecutionException(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) { return valueRef.get(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} } else -> { if (reservedFlag1) throw ProtocolException("Unexpected rsv1 flag") } } val reservedFlag2 = b0 and B0_FLAG_RSV2 != 0 if (reservedFlag2) throw ProtocolException("Unexpected rsv2 flag") val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0 if (reservedFlag3) throw ProtocolException("Unexpected rsv3 flag") val b1 = source.readByte() and 0xff
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
assertArgumentNotNull("handler", handler); try { parser.parse(inputSource, handler); } catch (final SAXException e) { throw new SAXRuntimeException(e); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * {@link XMLReader}の基本となる実装に特定のプロパティを設定します。 * * @param parser
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
registry.register(o1); Iterator<Subscriber> three = registry.getSubscribers(""); assertEquals(s1, one.next().target); assertFalse(one.hasNext()); assertEquals(s1, three.next().target); assertEquals(s2, three.next().target); assertEquals(o1, three.next().target); assertFalse(three.hasNext()); three = registry.getSubscribers(""); registry.unregister(s2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
@Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final E pollFirst() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the set unmodified. * * @since 12.0 * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
if ( str == null ) { return new byte[0]; } try { return str.getBytes(config.getOemEncoding()); } catch ( UnsupportedEncodingException e ) { throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e); } } /** * @param src * @param srcIndex * @param len * @return decoded string
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* @throws IllegalArgumentException {@inheritDoc} */ @CanIgnoreReturnValue @Override public int drainTo(Collection<? super E> c) { if (c == null) throw new NullPointerException(); if (c == this) throw new IllegalArgumentException(); final E[] items = this.items; final Monitor monitor = this.monitor; monitor.enter(); try { int i = takeIndex; int n = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
val privateHost = isPrivateHost(hostname) if (privateHost && !resolvePrivateAddresses) { throw UnknownHostException("private hosts not resolved") } if (!privateHost && !resolvePublicAddresses) { throw UnknownHostException("public hosts not resolved") } } return lookupHttps(hostname) } @Throws(UnknownHostException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0)