- Sort Score
- Result 10 results
- Languages All
Results 2441 - 2450 of 2,742 for throws (0.09 sec)
-
android/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/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) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
**FastAPI** will do the right thing with each, the same as with normal dependencies. /// ## A dependency with `yield` and `try` If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
call: Call, e: IOException, ) { throw AssertionError() } override fun onResponse( call: Call, response: Response, ) { try { responseRef.put(response) } catch (e: InterruptedException) { throw AssertionError() } } }, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
this.sequenceNumber = sequenceNumber this.failure = failure if (socket is SSLSocket) { try { this.handshake = socket.session.handshake() } catch (e: IOException) { throw IllegalArgumentException(e) } } else { this.handshake = null } if (requestLine.isNotEmpty()) { val methodEnd = requestLine.indexOf(' ')
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName); fail(); } catch (IllegalArgumentException expected) { } } catch (NoSuchAlgorithmException nsae) { throw new AssertionError(nsae); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
return MethodUtil.invoke(method, target, args); } @Override public <T> T invokeStatic(final Object... args) { if (!isStatic()) { throw new MethodNotStaticRuntimeException(getBeanDesc().getBeanClass(), methodName); } return MethodUtil.invokeStatic(method, args); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
if (strLen > 0) { for (int i = 0; i < strLen; i++) { if (!Character.isWhitespace(str.charAt(i))) { return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0)