- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 356 for NullPointerException (0.07 sec)
-
android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_nullNotSupported() { try { assertFalse( "remove(null) should return false or throw NullPointerException", collection.remove(null)); } catch (NullPointerException tolerated) { } expectUnchanged(); } @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_QUERIES}) public void testRemove_nullAllowed() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* java.util.List} or some other collection that preserves the order in which the exceptions got * added. * * @throws NullPointerException if {@code exceptions} is null * @throws IllegalArgumentException if {@code exceptions} is empty */ static RuntimeException create(Collection<? extends Throwable> exceptions) { if (exceptions.size() == 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_nullNotSupported() { try { assertFalse( "remove(null) should return false or throw NullPointerException", collection.remove(null)); } catch (NullPointerException tolerated) { } expectUnchanged(); } @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_QUERIES}) public void testRemove_nullAllowed() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
expectContents(createArrayWithNullKey()); } @MapFeature.Require(absent = ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testCreateWithNullKeyUnsupported() { assertThrows(NullPointerException.class, () -> initMapWithNullKey()); } @MapFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testCreateWithNullValueSupported() { initMapWithNullValue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
public void test_throwAndCatchWithCause() { // Test throwing and catching the exception with cause String expectedMessage = "Job execution failed with error"; Throwable expectedCause = new NullPointerException("NPE occurred"); boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage, expectedCause); } catch (ScheduledJobException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
assertTrue(exception1.getCause() instanceof java.io.IOException); StorageException exception2 = new StorageException("NPE", new NullPointerException("Null reference")); assertTrue(exception2.getCause() instanceof NullPointerException); StorageException exception3 = new StorageException("Custom", new FessSystemException("System error"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0)