HomeSort by relevance Sort by last modified time
    Searched refs:ArithmeticException (Results 26 - 50 of 84) sorted by null

12 3 4

  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalCompareTest.java 50 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
51 } catch (ArithmeticException expected) {
OldBigDecimalConstructorsTest.java 99 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
100 } catch (ArithmeticException e) {
105 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
106 } catch (ArithmeticException e) {
186 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
187 } catch (ArithmeticException e) {
192 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
193 } catch (ArithmeticException e) {
246 fail("No ArithmeticException for RoundingMode.UNNECESSARY");
247 } catch (ArithmeticException e)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/math/
BigIntegerTest.java 137 fail("ArithmeticException expected");
138 } catch (ArithmeticException e) {
580 } catch (ArithmeticException e) {
601 } catch (ArithmeticException e) {
768 fail("ArithmeticException expected");
769 } catch (ArithmeticException e) {
774 fail("ArithmeticException expected");
775 } catch (ArithmeticException e) {
780 fail("ArithmeticException expected");
781 } catch (ArithmeticException e)
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
UnsignedIntsTest.java 67 } catch (ArithmeticException e) {
80 } catch (ArithmeticException e) {
UnsignedIntegerTest.java 163 fail("Expected ArithmeticException");
164 } catch (ArithmeticException expected) {}
187 fail("Expected ArithmeticException");
188 } catch (ArithmeticException expected) {}
UnsignedLongTest.java 174 fail("Expected ArithmeticException");
175 } catch (ArithmeticException expected) {}
200 fail("Expected ArithmeticException");
201 } catch (ArithmeticException expected) {}
  /libcore/luni/src/main/java/java/math/
BigInteger.java 159 * @throws ArithmeticException if {@code bitLength < 2}.
165 throw new ArithmeticException("bitLength < 2: " + bitLength);
500 * @throws ArithmeticException if {@code n < 0}.
504 throw new ArithmeticException("n < 0: " + n);
546 * @throws ArithmeticException if {@code n < 0}.
566 * @throws ArithmeticException if {@code n < 0}.
586 * @throws ArithmeticException if {@code n < 0}.
591 throw new ArithmeticException("n < 0: " + n);
867 * @throws ArithmeticException if {@code exp < 0}.
871 throw new ArithmeticException("exp < 0: " + exp)
    [all...]
BigInt.java 55 throw new ArithmeticException("BigInteger division by zero");
58 throw new ArithmeticException("BigInteger not invertible");
76 throw new ArithmeticException(sb.toString());
Multiplication.java 140 throw new ArithmeticException();
  /dalvik/tests/003-omnibus-opcodes/src/
IntMath.java 376 } catch (ArithmeticException ae) {
382 } catch (ArithmeticException ae) {
388 } catch (ArithmeticException ae) {
394 } catch (ArithmeticException ae) {
  /external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerModPowTest.java 46 fail("ArithmeticException has not been caught");
47 } catch (ArithmeticException e) {
52 fail("ArithmeticException has not been caught");
53 } catch (ArithmeticException e) {
139 fail("ArithmeticException has not been caught");
140 } catch (ArithmeticException e) {
156 fail("ArithmeticException has not been caught");
157 } catch (ArithmeticException e) {
  /external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
IntMath.java 93 * @throws ArithmeticException if {@code m <= 0}
97 throw new ArithmeticException("Modulus " + m + " must be > 0");
129 * @throws ArithmeticException if {@code a + b} overflows in signed {@code int} arithmetic
140 * @throws ArithmeticException if {@code a - b} overflows in signed {@code int} arithmetic
151 * @throws ArithmeticException if {@code a * b} overflows in signed {@code int} arithmetic
  /external/proguard/src/proguard/evaluation/value/
IntegerValue.java 106 throws ArithmeticException;
112 throws ArithmeticException;
118 throws ArithmeticException;
125 throws ArithmeticException;
132 throws ArithmeticException;
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/
Test_div_int.java 131 fail("expected ArithmeticException");
132 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/
Test_div_int_2addr.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/
Test_div_long.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/
Test_div_long_2addr.java 128 fail("expected ArithmeticException");
129 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/
Test_rem_int.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/
Test_rem_int_2addr.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_lit16/
Test_rem_int_lit16.java 136 fail("expected ArithmeticException");
137 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_lit8/
Test_rem_int_lit8.java 136 fail("expected ArithmeticException");
137 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/
Test_rem_long.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long_2addr/
Test_rem_long_2addr.java 129 fail("expected ArithmeticException");
130 } catch (ArithmeticException ae) {
  /external/guava/guava/src/com/google/common/math/
IntMath.java 71 * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
112 * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
162 * <p>Compare {@link #checkedPow}, which throws an {@link ArithmeticException} upon overflow.
202 * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and
244 * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
252 throw new ArithmeticException("/ by zero"); // for GWT
317 * @throws ArithmeticException if {@code m <= 0}
321 throw new ArithmeticException("Modulus " + m + " must be > 0");
353 * @throws ArithmeticException if {@code a + b} overflows in signed {@code int} arithmetic
364 * @throws ArithmeticException if {@code a - b} overflows in signed {@code int} arithmeti
    [all...]
  /external/guava/guava-tests/test/com/google/common/math/
BigIntegerMathTest.java 115 } catch (ArithmeticException e) {
202 } catch (ArithmeticException e) {
296 } catch (ArithmeticException e) {
363 } catch (ArithmeticException e) {
383 fail("Expected ArithmeticException");
384 } catch (ArithmeticException expected) {}

Completed in 925 milliseconds

12 3 4