Uses of Class java.lang.ArithmeticException

Uses in package java.math

Methods which throw type java.lang.ArithmeticException

BigDecimal
Performs division, if the resulting quotient requires rounding (has a nonterminating decimal expansion), an ArithmeticException is thrown.
BigDecimal
BigDecimal.divide(BigDecimal val, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int newScale, int roundingMode)
BigDecimal
BigDecimal.setScale(int scale)
BigDecimal
BigDecimal.setScale(int scale, int roundingMode)