- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,672 for threw (0.02 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java
*/ static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass } // All URL escapers should leave 0-9, A-Z, a-z unescaped
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
final String reason = String.format( "Cannot evaluate expression '%s' for configuration entry '%s'", value, configuration.getName()); throw new ComponentConfigurationException(configuration, reason, e); } } public Object fromConfiguration( final ConverterLookup lookup, final PlexusConfiguration configuration,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
Request request = new Request.Builder() .url("https://publicobject.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); for (Certificate certificate : response.handshake().peerCertificates()) { System.out.println(CertificatePinner.pin(certificate)); } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
return SingletonLaContainer.getComponent(clazz); } catch (final NullPointerException e) { if (logger.isDebugEnabled()) { throw new ContainerNotAvailableException(clazz.getCanonicalName(), e); } throw new ContainerNotAvailableException(clazz.getCanonicalName()); } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
private File getTestDir() throws IOException { if (testDir != null) { return testDir; } URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
*/ public static JarFile create(final String file) { assertArgumentNotNull("file", file); try { return new JarFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * 指定されたJarファイルを読み取るための<code>JarFile</code>を作成して返します。 * * @param file * ファイル。{@literal null}であってはいけません
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0)