- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 628 for IllegalArgumentException (0.22 sec)
-
guava/src/com/google/common/math/BigIntegerMath.java
public final class BigIntegerMath { /** * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to * {@code BigInteger.valueOf(2).pow(log2(x, CEILING))}. * * @throws IllegalArgumentException if {@code x <= 0} * @since 20.0 */ public static BigInteger ceilingPowerOfTwo(BigInteger x) { return BigInteger.ZERO.setBit(log2(x, CEILING)); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
ECL0070=Field({1}) of class({0}) not found ECL0071=SQLException(Message=[{0}], ErrorCode={1}, SQLState={2}) occurred ECL0072=SQLException(SQL=[{0}], Message=[{1}], ErrorCode={2}, SQLState={3}) occurred ECL0091=Illegal URL({0}) ECL0094=IllegalArgumentException occurred when value({7}) of class {5}[{6}] is set to {2}[{3}] field({4}) of class({0})[{1}]. Target class is ({8})[{9}]. ECL0097=Value({1}) of property({0}) can not be converted. because {2}.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Mar 07 01:58:02 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.ensureCapacity(ARRAY1, 2, 1)).isEqualTo(new int[] {(int) 1, (int) 0, (int) 0}); } public void testEnsureCapacity_fail() { assertThrows(IllegalArgumentException.class, () -> Ints.ensureCapacity(ARRAY1, -1, 1)); assertThrows(IllegalArgumentException.class, () -> Ints.ensureCapacity(ARRAY1, 1, -1)); } public void testJoin() { assertThat(Ints.join(",", EMPTY)).isEmpty();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
* @throws IllegalArgumentException when */ public void setRequestType(final int requestType) { switch (requestType) { case REQUEST_PUT: break; case REQUEST_GET: break; default: throw new IllegalArgumentException("Illegal request type: " + requestType); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.7K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/primitives/Ints.java
* Math#toIntExact(long)} instead, but be aware that that method throws {@link * ArithmeticException} rather than {@link IllegalArgumentException}. * * @param value any value in the range of the {@code int} type * @return the {@code int} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or * less than {@link Integer#MIN_VALUE} */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
public void testMax_noArgs() { assertThrows(IllegalArgumentException.class, () -> max()); } public void testMax() { assertThat(max(MIN_VALUE)).isEqualTo(MIN_VALUE); assertThat(max(MAX_VALUE)).isEqualTo(MAX_VALUE); assertThat(max(8L, 6L, 7L, 5L, 3L, 0L, 9L)).isEqualTo(9L); } public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* * @param value any value in the range of the {@code char} type * @return the {@code char} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Character#MAX_VALUE} * or less than {@link Character#MIN_VALUE} */ public static char checkedCast(long value) { char result = (char) value;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)