Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for ArithmeticException (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Callable<Integer>> l = new ArrayList<>();
        l.add(
            new Callable<Integer>() {
              @Override
              public Integer call() {
                throw new ArithmeticException("/ by zero");
              }
            });
        l.add(null);
        try {
          invokeAnyImpl(e, l, false, 0, NANOSECONDS);
          fail();
        } catch (NullPointerException success) {
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link
       * 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}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top