A RuntimeException that signals an exceptional arithmetic condition, such as integer division by zero.
public class ArithmeticException extends RuntimeException { // Public Constructors public ArithmeticException(); public ArithmeticException(String s); }
Object->Throwable(Serializable)->Exception->RuntimeException->ArithmeticException
BigDecimal.divide(), BigDecimal.setScale(), BigInteger.add(), BigInteger.clearBit(), BigInteger.divide(), BigInteger.divideAndRemainder(), BigInteger.flipBit(), BigInteger.modInverse(), BigInteger.pow(), BigInteger.remainder(), BigInteger.setBit(), BigInteger.testBit()