- Sort Score
- Num 10 results
- Language All
Results 2021 - 2030 of 3,282 for throwIt (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
} public void testToStringImplWithNullKeys() throws Exception { Map<@Nullable String, String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put(null, "baz"); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 20 18:03:37 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName("", false), "getAllByName should throw UnknownHostException for empty string"); assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName(null, false), "getAllByName should throw UnknownHostException for null name"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveAll_unsupportedEmptyCollection() { try { assertFalse( "removeAll(emptyCollection) should return false or throw " + "UnsupportedOperationException", collection.removeAll(MinimalCollection.of())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
/** * Creates a table with the specified data. * * @param data the table data, repeating the sequence row key, column key, value once per mapping * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3 * @throws ClassCastException if a data element has the wrong type */ protected abstract Table<String, Integer, C> create(@Nullable Object... data);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionPersistenceException.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.execution; /** * This exception will be thrown when something fails while persisting build resumption data. * @see BuildResumptionDataRepository#persistResumptionData */ public class BuildResumptionPersistenceException extends Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Chars.java
/** * Returns the {@code char} value that is equal to {@code value}, if possible. * * @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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; /** */ class LifecycleExecutionPlanCalculatorTest extends AbstractCoreMavenComponentTestCase { @Test void testCalculateExecutionPlanWithGoalTasks() throws Exception { MojoDescriptorCreator mojoDescriptorCreator = createMojoDescriptorCreator(); LifecycleExecutionPlanCalculator lifecycleExecutionPlanCalculator =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* @return The transformed ResultData. */ @Override public ResultData transform(final ResponseData responseData) { if (responseData == null || !responseData.hasResponseBody()) { throw new CrawlingAccessException("No response body."); } final ResultData resultData = new ResultData(); resultData.setTransformerName(getName());Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("readUShort throws on too short array") void testReadUShortOutOfBounds() { byte[] a = new byte[] { 0x02 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0)); } @Test @DisplayName("readULong throws on too short array") void testReadULongOutOfBounds() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0)