- Sort Score
- Num 10 results
- Language All
Results 3081 - 3090 of 3,804 for throws (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
} @MapFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertNull( "remove(notPresent) should return null or throw UnsupportedOperationException", getMap().remove(k3())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); expectMissing(e3()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue()); if (oldValue != null) { throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]); } K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey()); if (oldKey != null) { throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
if (Objects.requireNonNull(groupId, "groupId cannot be null").isEmpty()) { throw new IllegalArgumentException("groupId cannot be empty"); } if (Objects.requireNonNull(artifactId, "artifactId cannot be null").isEmpty()) { throw new IllegalArgumentException("artifactId cannot be empty"); } if (model != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import javax.crypto.BadPaddingException; /** * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly. * @author shinsuke */ public class BadPaddingRuntimeException extends ClRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/IllegalKeyOfBeanMapException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.util.Map; /** * Exception thrown when using a key not contained in a {@literal BeanMap}. * * @author koichik */ public class IllegalKeyOfBeanMapException extends ClIllegalArgumentException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; /** * Exception thrown when a resource cannot be found. * * @author higa */ public class ResourceNotFoundRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 9033370905740809950L; /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception * message must mention two values that were associated with the duplicate key in two different
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
referralData.setKey("key"); // Should not throw exception referralData.replaceCache(); } @Test @DisplayName("Should not replace cache when key is null") void testReplaceCacheWithNullKey() { referralData.setCacheMap(cacheMap); // Should not throw exception referralData.replaceCache();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
pkcs8Base64Text.decodeBase64() ?: throw IllegalArgumentException("failed to decode private key") // The private key doesn't tell us its type but it's okay because the certificate knows! val keyType = when (certificate.publicKey) { is ECPublicKey -> "EC" is RSAPublicKey -> "RSA" else -> throw IllegalArgumentException("unexpected key type: ${certificate.publicKey}")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java
throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidQueryCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) { String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values; throw new InvalidQueryRegisteredException(msg); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 21.1K bytes - Click Count (0)