- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 628 for IllegalArgumentException (0.13 sec)
-
android/guava/src/com/google/common/net/MediaType.java
* * @throws IllegalArgumentException if subtype is invalid */ static MediaType createApplicationType(String subtype) { return create(APPLICATION_TYPE, subtype); } /** * Creates a media type with the "audio" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
assertDoesNotThrow(managed::close); } @Test @DisplayName("Test null resource registration throws exception") void testNullResourceRegistration() { assertThrows(IllegalArgumentException.class, () -> resourceManager.registerResource(null)); } @Test @DisplayName("Test configuration updates") void testConfigurationUpdates() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} @Test public void testStoreNullKey() { assertThrows(IllegalArgumentException.class, () -> keyManager.storeSessionKey("session", null, "AES")); } @Test public void testStoreNullSessionId() { assertThrows(IllegalArgumentException.class, () -> keyManager.storeSessionKey(null, testKey, "AES")); } @Test public void testUseAfterClose() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* * @param array a <i>nonempty</i> array of {@code float} values * @return the value present in {@code array} that is less than or equal to every other value in * the array * @throws IllegalArgumentException if {@code array} is empty */ @GwtIncompatible( "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.") public static float min(float... array) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* possible. * * @param value a value between 0 and 2<sup>32</sup>-1 inclusive * @return the {@code int} value that, when treated as unsigned, equals {@code value} * @throws IllegalArgumentException if {@code value} is negative or greater than or equal to * 2<sup>32</sup> * @since 21.0 */ public static int checkedCast(long value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
assertThrows(IllegalArgumentException.class, () -> EnumMultiset.create(empty)); } public void testCreateEmptyWithClass() { Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class); ms.add(Color.RED); } public void testCreateEmptyWithoutClassFails() { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
*/ @GwtCompatible public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> { // Modification Operations /** * {@inheritDoc} * * @throws IllegalArgumentException if the given value is already bound to a different key in this * bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link * #forcePut} instead. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
TestFessLabels labels = new TestFessLabels(); labels.testAssertPropertyNotNull(null); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("The argument 'property' for message should not be null.", e.getMessage()); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
.isEqualTo(new byte[] {(byte) 1, (byte) 0, (byte) 0}); } public void testEnsureCapacity_fail() { assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, -1, 1)); assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1)); } public void testToArray() { // need explicit type parameter to avoid javac warning!?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* @param occurrences the number of occurrences of the element to add. May be zero, in which case * no change will be made. * @return the count of the element before the operation; possibly zero * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation would * result in more than {@link Integer#MAX_VALUE} occurrences of the elementRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0)