- Sort Score
- Result 10 results
- Languages All
Results 1171 - 1180 of 1,628 for rethrow (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
} @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_unsupportedPresent() { try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
} @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
int start = bufferIndex; this.version = SMBUtil.readInt2(buffer, bufferIndex); if ( this.version != 3 && this.version != 1 ) { throw new RuntimeCIFSException("Version " + this.version + " referral not supported. Please report this to jcifs at samba dot org."); } bufferIndex += 2; this.size = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* Object#hashCode} and {@link Object#toString}. For example: * * <pre> * class Unsupported extends AbstractInvocationHandler { * protected Object handleInvocation(Object proxy, Method method, Object[] args) { * throw new UnsupportedOperationException(); * } * } * * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported()); * </pre> * * @author Ben Yu * @since 12.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
this.t = t; } } } @SuppressWarnings("unchecked") static <T extends Throwable> void uncheckedThrow(Throwable t) throws T { throw (T) t; // rely on vacuous cast }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
} private var started: Boolean = false @Synchronized override fun before() { if (started) return try { start() } catch (e: IOException) { throw RuntimeException(e) } } @JvmName("-deprecated_port") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "port"), level = DeprecationLevel.ERROR, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { // Mostly 4-byte UTF-8 sequences - "rare exotic" text return Character.MAX_CODE_POINT; } else { throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); } } } public static MaxCodePoint valueOf(String userFriendly) { return new MaxCodePoint(userFriendly); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
} else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { // Mostly 4-byte UTF-8 sequences - "rare exotic" text return Character.MAX_CODE_POINT; } else { throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); } } } public static MaxCodePoint valueOf(String userFriendly) { return new MaxCodePoint(userFriendly); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
return new DefaultSettingsBuildingResult( new Settings(result.getEffectiveSettings()), convert(result.getProblems())); } catch (SettingsBuilderException e) { throw new SettingsBuildingException(convert(e.getProblems())); } } private org.apache.maven.api.services.Source toSource(File file, Source source) { if (file != null && file.exists()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
} } // parse a content parser.parse(is, handler); return handler.getDataMap(); } catch (final Exception e) { throw new CrawlerSystemException("Could not create a data map from XML content.", e); } } private static class DocHandler extends DefaultHandler {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0)