Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for NullPointerException (0.11 seconds)

  1. android/guava/src/com/google/common/collect/Maps.java

       * Delegates to {@link Map#get}. Returns {@code null} on {@code ClassCastException} and {@code
       * NullPointerException}.
       */
      static <V extends @Nullable Object> @Nullable V safeGet(Map<?, V> map, @Nullable Object key) {
        checkNotNull(map);
        try {
          return map.get(key);
        } catch (ClassCastException | NullPointerException e) {
          return null;
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            catchingAsync(inputFuture, Throwable.class, x -> null, directExecutor());
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(chainedFuture));
        NullPointerException cause = (NullPointerException) expected.getCause();
        assertThat(cause)
            .hasMessageThat()
            .contains(
                "AsyncFunction.apply returned null instead of a Future. "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            catchingAsync(inputFuture, Throwable.class, x -> null, directExecutor());
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(chainedFuture));
        NullPointerException cause = (NullPointerException) expected.getCause();
        assertThat(cause)
            .hasMessageThat()
            .contains(
                "AsyncFunction.apply returned null instead of a Future. "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

       * Delegates to {@link Map#get}. Returns {@code null} on {@code ClassCastException} and {@code
       * NullPointerException}.
       */
      static <V extends @Nullable Object> @Nullable V safeGet(Map<?, V> map, @Nullable Object key) {
        checkNotNull(map);
        try {
          return map.get(key);
        } catch (ClassCastException | NullPointerException e) {
          return null;
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * change). To access the renamed file it is necessary to construct a
         * new {@code SmbFile}</i>.
         *
         * @param  dest  An <code>SmbFile</code> that represents the new pathname
         * @throws NullPointerException
         *         If the <code>dest</code> argument is <code>null</code>
         * @throws SmbException if an error occurs during the rename operation
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top