- Sort Score
- Result 10 results
- Languages All
Results 2301 - 2310 of 3,203 for throwIt (0.04 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/Goal.java
* under the License. */ package org.apache.maven.cling.invoker.mvnenc; /** * The mvnenc tool goal. */ public interface Goal { int execute(EncryptContext context) throws Exception;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 973 bytes - Viewed (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() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* loader as the rest of Guava, this thread would keep an indirect strong reference to the class * loader and prevent it from being garbage collected. This poses a problem for environments where * you want to throw away the class loader. For example, dynamically reloading a web application or * unloading an OSGi bundle. * * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own classRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
return hashKeys(DEFAULT_EXPECTED_KEYS); } /** * Uses a hash table to map keys to value collections, initialized to expect the specified number * of keys. * * @throws IllegalArgumentException if {@code expectedKeys < 0} */ public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 18K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
// permitted not to throw because it would be a no-op } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES) public void testReplace_absentNullKeyUnsupported() { try { getMap().replace(null, v3()); } catch (NullPointerException tolerated) { // permitted not to throw because it would be a no-op } expectUnchanged();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_unsupportedEmptyCollection() { try { assertFalse( "removeIf(Predicate) should return false or throw UnsupportedOperationException", collection.removeIf( x -> { throw new AssertionError("predicate should never be called"); })); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
// permitted not to throw because it would be a no-op } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES) public void testReplace_absentNullKeyUnsupported() { try { getMap().replace(null, v3()); } catch (NullPointerException tolerated) { // permitted not to throw because it would be a no-op } expectUnchanged();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
try { Mac mac = Mac.getInstance(algorithmName); mac.init(key); return mac; } catch (NoSuchAlgorithmException e) { throw new IllegalStateException(e); } catch (InvalidKeyException e) { throw new IllegalArgumentException(e); } } @Override public Hasher newHasher() { if (supportsClone) { try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SMBSignatureValidationException.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * Exception thrown when SMB message signature validation fails. * Indicates that the integrity of an SMB message could not be verified. * * @author mbechler * */ public class SMBSignatureValidationException extends SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0)